From 817b1a050f84858300fde5881633f23b5be55a73 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Mon, 30 Oct 2023 12:59:12 +0100 Subject: [PATCH 1/2] Fix allow all peeker in forge example --- suave/artifacts/Suave.sol/Suave.json | 8799 ++++++- suave/artifacts/SuaveAbi.sol/SuaveAbi.json | 2137 +- .../artifacts/SuaveForge.sol/SuaveForge.json | 6959 +++++- suave/artifacts/SuaveForge.sol/Vm.json | 6959 +++++- suave/artifacts/bids.sol/AnyBidContract.json | 19463 ++++++++++++++- .../artifacts/bids.sol/BundleBidContract.json | 19493 ++++++++++++++- .../bids.sol/EthBlockBidContract.json | 20039 ++++++++++++++- .../bids.sol/EthBlockBidSenderContract.json | 20050 +++++++++++++++- .../bids.sol/EthBundleSenderContract.json | 19524 ++++++++++++++- .../bids.sol/MevShareBidContract.json | 19616 ++++++++++++++- .../MevShareBundleSenderContract.json | 19647 ++++++++++++++- .../example.sol/ExampleEthCallSource.json | 774 +- .../example.sol/ExampleEthCallTarget.json | 754 +- .../artifacts/forge_example.sol/Example.json | 1289 +- suave/sol/scripts/forge_example.sol | 2 +- 15 files changed, 165434 insertions(+), 71 deletions(-) diff --git a/suave/artifacts/Suave.sol/Suave.json b/suave/artifacts/Suave.sol/Suave.json index 1bb8dd8f07..c054148808 100644 --- a/suave/artifacts/Suave.sol/Suave.json +++ b/suave/artifacts/Suave.sol/Suave.json @@ -199,10 +199,8799 @@ "type": "function" } ], + "bytecode": { + "object": "0x6101bc61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a", + "sourceMap": "64:7418:14:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;64:7418:14;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a" + "object": "0x73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a", + "sourceMap": "64:7418:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1462:90;;1510:42;1462:90;;;;;-1:-1:-1;;;;;186:32:20;;;168:51;;156:2;141:18;1462:90:14;;;;;;;1205:76;;1239:42;1205:76;;907:88;;953:42;907:88;;1559:76;;1593:42;1559:76;;1642:89;;1689:42;1642:89;;1288:81;;1327:42;1288:81;;816:84;;858:42;816:84;;1738;;1780:42;1738:84;;1105:93;;1156:42;1105:93;;1927:98;;1983:42;1927:98;;1376:79;;1413:42;1376:79;;720:89;;767:42;720:89;;1829:91;;1878:42;1829:91;;1002:96;;1056:42;1002:96;", + "linkReferences": {} }, - "bytecode": { - "object": "0x6101bc61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "BUILD_ETH_BLOCK()": "94804c69", + "CONFIDENTIAL_INPUTS()": "69094cbc", + "CONFIDENTIAL_STORE_RETRIEVE()": "f6ab3de5", + "CONFIDENTIAL_STORE_STORE()": "b7817da0", + "ETHCALL()": "040e5183", + "EXTRACT_HINT()": "751afe2c", + "FETCH_BIDS()": "c91e11df", + "FILL_MEV_SHARE_BUNDLE()": "01c19530", + "IS_CONFIDENTIAL_ADDR()": "d91525db", + "NEW_BID()": "7320cb17", + "SIGN_ETH_TRANSACTION()": "744795b9", + "SIMULATE_BUNDLE()": "b61b127d", + "SUBMIT_BUNDLE_JSON_RPC()": "f0608b1c", + "SUBMIT_ETH_BLOCK_BID_TO_RELAY()": "bc50c005" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BUILD_ETH_BLOCK\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIDENTIAL_INPUTS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIDENTIAL_STORE_RETRIEVE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIDENTIAL_STORE_STORE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ETHCALL\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EXTRACT_HINT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FETCH_BIDS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FILL_MEV_SHARE_BUNDLE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"IS_CONFIDENTIAL_ADDR\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NEW_BID\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SIGN_ETH_TRANSACTION\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SIMULATE_BUNDLE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBMIT_BUNDLE_JSON_RPC\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBMIT_ETH_BLOCK_BID_TO_RELAY\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/Suave.sol\":\"Suave\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "BUILD_ETH_BLOCK", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "CONFIDENTIAL_INPUTS", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "CONFIDENTIAL_STORE_RETRIEVE", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "CONFIDENTIAL_STORE_STORE", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "ETHCALL", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "EXTRACT_HINT", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "FETCH_BIDS", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "FILL_MEV_SHARE_BUNDLE", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_CONFIDENTIAL_ADDR", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "NEW_BID", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "SIGN_ETH_TRANSACTION", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "SIMULATE_BUNDLE", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "SUBMIT_BUNDLE_JSON_RPC", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/libraries/Suave.sol": "Suave" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/libraries/Suave.sol", + "id": 39935, + "exportedSymbols": { + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "39:7444:14", + "nodes": [ + { + "id": 39303, + "nodeType": "PragmaDirective", + "src": "39:23:14", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 39934, + "nodeType": "ContractDefinition", + "src": "64:7418:14", + "nodes": [ + { + "id": 39309, + "nodeType": "ErrorDefinition", + "src": "84:37:14", + "nodes": [], + "errorSelector": "75fff467", + "name": "PeekerReverted", + "nameLocation": "90:14:14", + "parameters": { + "id": 39308, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39305, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39309, + "src": "105:7:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39304, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "105:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39307, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39309, + "src": "114:5:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39306, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "114:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "104:16:14" + } + }, + { + "id": 39311, + "nodeType": "UserDefinedValueTypeDefinition", + "src": "127:22:14", + "nodes": [], + "canonicalName": "Suave.BidId", + "name": "BidId", + "nameLocation": "132:5:14", + "underlyingType": { + "id": 39310, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "141:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + } + }, + { + "id": 39328, + "nodeType": "StructDefinition", + "src": "155:183:14", + "nodes": [], + "canonicalName": "Suave.Bid", + "members": [ + { + "constant": false, + "id": 39314, + "mutability": "mutable", + "name": "id", + "nameLocation": "182:2:14", + "nodeType": "VariableDeclaration", + "scope": 39328, + "src": "176:8:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39313, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39312, + "name": "BidId", + "nameLocations": [ + "176:5:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "176:5:14" + }, + "referencedDeclaration": 39311, + "src": "176:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39317, + "mutability": "mutable", + "name": "salt", + "nameLocation": "200:4:14", + "nodeType": "VariableDeclaration", + "scope": 39328, + "src": "194:10:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39315, + "name": "BidId", + "nameLocations": [ + "194:5:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "194:5:14" + }, + "referencedDeclaration": 39311, + "src": "194:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39319, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "221:19:14", + "nodeType": "VariableDeclaration", + "scope": 39328, + "src": "214:26:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "214:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39322, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "260:14:14", + "nodeType": "VariableDeclaration", + "scope": 39328, + "src": "250:24:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 39320, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "250:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39321, + "nodeType": "ArrayTypeName", + "src": "250:9:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39325, + "mutability": "mutable", + "name": "allowedStores", + "nameLocation": "294:13:14", + "nodeType": "VariableDeclaration", + "scope": 39328, + "src": "284:23:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 39323, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "284:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39324, + "nodeType": "ArrayTypeName", + "src": "284:9:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39327, + "mutability": "mutable", + "name": "version", + "nameLocation": "324:7:14", + "nodeType": "VariableDeclaration", + "scope": 39328, + "src": "317:14:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39326, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "317:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "name": "Bid", + "nameLocation": "162:3:14", + "scope": 39934, + "visibility": "public" + }, + { + "id": 39347, + "nodeType": "StructDefinition", + "src": "344:243:14", + "nodes": [], + "canonicalName": "Suave.BuildBlockArgs", + "members": [ + { + "constant": false, + "id": 39330, + "mutability": "mutable", + "name": "slot", + "nameLocation": "383:4:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "376:11:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39329, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "376:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39332, + "mutability": "mutable", + "name": "proposerPubkey", + "nameLocation": "403:14:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "397:20:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39331, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "397:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39334, + "mutability": "mutable", + "name": "parent", + "nameLocation": "435:6:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "427:14:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 39333, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "427:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39336, + "mutability": "mutable", + "name": "timestamp", + "nameLocation": "458:9:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "451:16:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39335, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "451:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39338, + "mutability": "mutable", + "name": "feeRecipient", + "nameLocation": "485:12:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "477:20:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39337, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "477:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39340, + "mutability": "mutable", + "name": "gasLimit", + "nameLocation": "514:8:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "507:15:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39339, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "507:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39342, + "mutability": "mutable", + "name": "random", + "nameLocation": "540:6:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "532:14:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 39341, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "532:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39346, + "mutability": "mutable", + "name": "withdrawals", + "nameLocation": "569:11:14", + "nodeType": "VariableDeclaration", + "scope": 39347, + "src": "556:24:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Withdrawal_$39356_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Withdrawal[]" + }, + "typeName": { + "baseType": { + "id": 39344, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39343, + "name": "Withdrawal", + "nameLocations": [ + "556:10:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39356, + "src": "556:10:14" + }, + "referencedDeclaration": 39356, + "src": "556:10:14", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Withdrawal_$39356_storage_ptr", + "typeString": "struct Suave.Withdrawal" + } + }, + "id": 39345, + "nodeType": "ArrayTypeName", + "src": "556:12:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Withdrawal_$39356_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Withdrawal[]" + } + }, + "visibility": "internal" + } + ], + "name": "BuildBlockArgs", + "nameLocation": "351:14:14", + "scope": 39934, + "visibility": "public" + }, + { + "id": 39356, + "nodeType": "StructDefinition", + "src": "593:121:14", + "nodes": [], + "canonicalName": "Suave.Withdrawal", + "members": [ + { + "constant": false, + "id": 39349, + "mutability": "mutable", + "name": "index", + "nameLocation": "628:5:14", + "nodeType": "VariableDeclaration", + "scope": 39356, + "src": "621:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39348, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "621:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39351, + "mutability": "mutable", + "name": "validator", + "nameLocation": "650:9:14", + "nodeType": "VariableDeclaration", + "scope": 39356, + "src": "643:16:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39350, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "643:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39353, + "mutability": "mutable", + "name": "Address", + "nameLocation": "677:7:14", + "nodeType": "VariableDeclaration", + "scope": 39356, + "src": "669:15:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39352, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "669:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39355, + "mutability": "mutable", + "name": "amount", + "nameLocation": "701:6:14", + "nodeType": "VariableDeclaration", + "scope": 39356, + "src": "694:13:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39354, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "694:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "name": "Withdrawal", + "nameLocation": "600:10:14", + "scope": 39934, + "visibility": "public" + }, + { + "id": 39359, + "nodeType": "VariableDeclaration", + "src": "720:89:14", + "nodes": [], + "constant": true, + "functionSelector": "d91525db", + "mutability": "constant", + "name": "IS_CONFIDENTIAL_ADDR", + "nameLocation": "744:20:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39357, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "720:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303030", + "id": 39358, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "767:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042010000" + }, + "visibility": "public" + }, + { + "id": 39362, + "nodeType": "VariableDeclaration", + "src": "816:84:14", + "nodes": [], + "constant": true, + "functionSelector": "94804c69", + "mutability": "constant", + "name": "BUILD_ETH_BLOCK", + "nameLocation": "840:15:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39360, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "816:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303031", + "id": 39361, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "858:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042100001" + }, + "visibility": "public" + }, + { + "id": 39365, + "nodeType": "VariableDeclaration", + "src": "907:88:14", + "nodes": [], + "constant": true, + "functionSelector": "69094cbc", + "mutability": "constant", + "name": "CONFIDENTIAL_INPUTS", + "nameLocation": "931:19:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39363, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "907:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303031", + "id": 39364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "953:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042010001" + }, + "visibility": "public" + }, + { + "id": 39368, + "nodeType": "VariableDeclaration", + "src": "1002:96:14", + "nodes": [], + "constant": true, + "functionSelector": "f6ab3de5", + "mutability": "constant", + "name": "CONFIDENTIAL_STORE_RETRIEVE", + "nameLocation": "1026:27:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39366, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1002:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303031", + "id": 39367, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1056:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042020001" + }, + "visibility": "public" + }, + { + "id": 39371, + "nodeType": "VariableDeclaration", + "src": "1105:93:14", + "nodes": [], + "constant": true, + "functionSelector": "b7817da0", + "mutability": "constant", + "name": "CONFIDENTIAL_STORE_STORE", + "nameLocation": "1129:24:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39369, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1105:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303030", + "id": 39370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1156:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042020000" + }, + "visibility": "public" + }, + { + "id": 39374, + "nodeType": "VariableDeclaration", + "src": "1205:76:14", + "nodes": [], + "constant": true, + "functionSelector": "040e5183", + "mutability": "constant", + "name": "ETHCALL", + "nameLocation": "1229:7:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39372, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1205:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303033", + "id": 39373, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1239:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042100003" + }, + "visibility": "public" + }, + { + "id": 39377, + "nodeType": "VariableDeclaration", + "src": "1288:81:14", + "nodes": [], + "constant": true, + "functionSelector": "751afe2c", + "mutability": "constant", + "name": "EXTRACT_HINT", + "nameLocation": "1312:12:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39375, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1288:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303337", + "id": 39376, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1327:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042100037" + }, + "visibility": "public" + }, + { + "id": 39380, + "nodeType": "VariableDeclaration", + "src": "1376:79:14", + "nodes": [], + "constant": true, + "functionSelector": "c91e11df", + "mutability": "constant", + "name": "FETCH_BIDS", + "nameLocation": "1400:10:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39378, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1376:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303031", + "id": 39379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1413:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042030001" + }, + "visibility": "public" + }, + { + "id": 39383, + "nodeType": "VariableDeclaration", + "src": "1462:90:14", + "nodes": [], + "constant": true, + "functionSelector": "01c19530", + "mutability": "constant", + "name": "FILL_MEV_SHARE_BUNDLE", + "nameLocation": "1486:21:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39381, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1462:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433323030303031", + "id": 39382, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1510:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000043200001" + }, + "visibility": "public" + }, + { + "id": 39386, + "nodeType": "VariableDeclaration", + "src": "1559:76:14", + "nodes": [], + "constant": true, + "functionSelector": "7320cb17", + "mutability": "constant", + "name": "NEW_BID", + "nameLocation": "1583:7:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39384, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1559:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303030", + "id": 39385, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1593:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042030000" + }, + "visibility": "public" + }, + { + "id": 39389, + "nodeType": "VariableDeclaration", + "src": "1642:89:14", + "nodes": [], + "constant": true, + "functionSelector": "744795b9", + "mutability": "constant", + "name": "SIGN_ETH_TRANSACTION", + "nameLocation": "1666:20:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39387, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1642:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303430313030303031", + "id": 39388, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1689:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000040100001" + }, + "visibility": "public" + }, + { + "id": 39392, + "nodeType": "VariableDeclaration", + "src": "1738:84:14", + "nodes": [], + "constant": true, + "functionSelector": "b61b127d", + "mutability": "constant", + "name": "SIMULATE_BUNDLE", + "nameLocation": "1762:15:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39390, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1738:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303030", + "id": 39391, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1780:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042100000" + }, + "visibility": "public" + }, + { + "id": 39395, + "nodeType": "VariableDeclaration", + "src": "1829:91:14", + "nodes": [], + "constant": true, + "functionSelector": "f0608b1c", + "mutability": "constant", + "name": "SUBMIT_BUNDLE_JSON_RPC", + "nameLocation": "1853:22:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39393, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1829:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433303030303031", + "id": 39394, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1878:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000043000001" + }, + "visibility": "public" + }, + { + "id": 39398, + "nodeType": "VariableDeclaration", + "src": "1927:98:14", + "nodes": [], + "constant": true, + "functionSelector": "bc50c005", + "mutability": "constant", + "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", + "nameLocation": "1951:29:14", + "scope": 39934, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39396, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1927:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303032", + "id": 39397, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1983:42:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000042100002" + }, + "visibility": "public" + }, + { + "id": 39423, + "nodeType": "FunctionDefinition", + "src": "2085:519:14", + "nodes": [], + "body": { + "id": 39422, + "nodeType": "Block", + "src": "2142:462:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39404, + 39406 + ], + "declarations": [ + { + "constant": false, + "id": 39404, + "mutability": "mutable", + "name": "success", + "nameLocation": "2158:7:14", + "nodeType": "VariableDeclaration", + "scope": 39422, + "src": "2153:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39403, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2153:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39406, + "mutability": "mutable", + "name": "isConfidentialBytes", + "nameLocation": "2180:19:14", + "nodeType": "VariableDeclaration", + "scope": 39422, + "src": "2167:32:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39405, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2167:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39411, + "initialValue": { + "arguments": [ + { + "hexValue": "", + "id": 39409, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2235:2:14", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "expression": { + "id": 39407, + "name": "IS_CONFIDENTIAL_ADDR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39359, + "src": "2203:20:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39408, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2224:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "2203:31:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2203:35:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2152:86:14" + }, + { + "condition": { + "id": 39413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2252:8:14", + "subExpression": { + "id": 39412, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39404, + "src": "2253:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39420, + "nodeType": "IfStatement", + "src": "2248:103:14", + "trueBody": { + "id": 39419, + "nodeType": "Block", + "src": "2262:89:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39415, + "name": "IS_CONFIDENTIAL_ADDR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39359, + "src": "2298:20:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39416, + "name": "isConfidentialBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39406, + "src": "2320:19:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39414, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "2283:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39417, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2283:57:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39418, + "nodeType": "RevertStatement", + "src": "2276:64:14" + } + ] + } + }, + { + "AST": { + "nodeType": "YulBlock", + "src": "2369:229:14", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "2439:37:14", + "value": { + "arguments": [ + { + "name": "isConfidentialBytes", + "nodeType": "YulIdentifier", + "src": "2456:19:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2450:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "2450:26:14" + }, + "variables": [ + { + "name": "len", + "nodeType": "YulTypedName", + "src": "2443:3:14", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2546:42:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "isConfidentialBytes", + "nodeType": "YulIdentifier", + "src": "2561:19:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2582:4:14", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2557:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2557:30:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2551:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "2551:37:14" + }, + "variableNames": [ + { + "name": "b", + "nodeType": "YulIdentifier", + "src": "2546:1:14" + } + ] + } + ] + }, + "evmVersion": "london", + "externalReferences": [ + { + "declaration": 39401, + "isOffset": false, + "isSlot": false, + "src": "2546:1:14", + "valueSize": 1 + }, + { + "declaration": 39406, + "isOffset": false, + "isSlot": false, + "src": "2456:19:14", + "valueSize": 1 + }, + { + "declaration": 39406, + "isOffset": false, + "isSlot": false, + "src": "2561:19:14", + "valueSize": 1 + } + ], + "id": 39421, + "nodeType": "InlineAssembly", + "src": "2360:238:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "isConfidential", + "nameLocation": "2094:14:14", + "parameters": { + "id": 39399, + "nodeType": "ParameterList", + "parameters": [], + "src": "2108:2:14" + }, + "returnParameters": { + "id": 39402, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39401, + "mutability": "mutable", + "name": "b", + "nameLocation": "2139:1:14", + "nodeType": "VariableDeclaration", + "scope": 39423, + "src": "2134:6:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39400, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2134:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2133:8:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39472, + "nodeType": "FunctionDefinition", + "src": "2610:435:14", + "nodes": [], + "body": { + "id": 39471, + "nodeType": "Block", + "src": "2783:262:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39439, + 39441 + ], + "declarations": [ + { + "constant": false, + "id": 39439, + "mutability": "mutable", + "name": "success", + "nameLocation": "2799:7:14", + "nodeType": "VariableDeclaration", + "scope": 39471, + "src": "2794:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39438, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2794:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39441, + "mutability": "mutable", + "name": "data", + "nameLocation": "2821:4:14", + "nodeType": "VariableDeclaration", + "scope": 39471, + "src": "2808:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39440, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2808:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39451, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39446, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39426, + "src": "2867:9:14", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 39447, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39429, + "src": "2878:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 39448, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39431, + "src": "2885:9:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 39444, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2856:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39445, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2860:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2856:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39449, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2856:39:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39442, + "name": "BUILD_ETH_BLOCK", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39362, + "src": "2829:15:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39443, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2845:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "2829:26:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2829:67:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2793:103:14" + }, + { + "condition": { + "id": 39453, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2910:8:14", + "subExpression": { + "id": 39452, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39439, + "src": "2911:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39460, + "nodeType": "IfStatement", + "src": "2906:83:14", + "trueBody": { + "id": 39459, + "nodeType": "Block", + "src": "2920:69:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39455, + "name": "BUILD_ETH_BLOCK", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39362, + "src": "2956:15:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39456, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39441, + "src": "2973:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39454, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "2941:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39457, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2941:37:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39458, + "nodeType": "RevertStatement", + "src": "2934:44:14" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 39463, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39441, + "src": "3017:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 39465, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3024:5:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 39464, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3024:5:14", + "typeDescriptions": {} + } + }, + { + "id": 39467, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3031:5:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 39466, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3031:5:14", + "typeDescriptions": {} + } + } + ], + "id": 39468, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3023:14:14", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" + } + ], + "expression": { + "id": 39461, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3006:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39462, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3010:6:14", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "3006:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 39469, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3006:32:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "functionReturnParameters": 39437, + "id": 39470, + "nodeType": "Return", + "src": "2999:39:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildEthBlock", + "nameLocation": "2619:13:14", + "parameters": { + "id": 39432, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39426, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "2655:9:14", + "nodeType": "VariableDeclaration", + "scope": 39472, + "src": "2633:31:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 39425, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39424, + "name": "BuildBlockArgs", + "nameLocations": [ + "2633:14:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "2633:14:14" + }, + "referencedDeclaration": 39347, + "src": "2633:14:14", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39429, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2672:5:14", + "nodeType": "VariableDeclaration", + "scope": 39472, + "src": "2666:11:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39428, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39427, + "name": "BidId", + "nameLocations": [ + "2666:5:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2666:5:14" + }, + "referencedDeclaration": 39311, + "src": "2666:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39431, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "2693:9:14", + "nodeType": "VariableDeclaration", + "scope": 39472, + "src": "2679:23:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39430, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2679:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2632:71:14" + }, + "returnParameters": { + "id": 39437, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39434, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39472, + "src": "2751:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39433, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2751:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39436, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39472, + "src": "2765:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39435, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2765:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2750:28:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39500, + "nodeType": "FunctionDefinition", + "src": "3051:282:14", + "nodes": [], + "body": { + "id": 39499, + "nodeType": "Block", + "src": "3118:215:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39478, + 39480 + ], + "declarations": [ + { + "constant": false, + "id": 39478, + "mutability": "mutable", + "name": "success", + "nameLocation": "3134:7:14", + "nodeType": "VariableDeclaration", + "scope": 39499, + "src": "3129:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39477, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3129:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39480, + "mutability": "mutable", + "name": "data", + "nameLocation": "3156:4:14", + "nodeType": "VariableDeclaration", + "scope": 39499, + "src": "3143:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39479, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3143:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39487, + "initialValue": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 39483, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3195:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39484, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3199:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3195:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39485, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3195:12:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39481, + "name": "CONFIDENTIAL_INPUTS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39365, + "src": "3164:19:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39482, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3184:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "3164:30:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39486, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:44:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3128:80:14" + }, + { + "condition": { + "id": 39489, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3222:8:14", + "subExpression": { + "id": 39488, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39478, + "src": "3223:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39496, + "nodeType": "IfStatement", + "src": "3218:87:14", + "trueBody": { + "id": 39495, + "nodeType": "Block", + "src": "3232:73:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39491, + "name": "CONFIDENTIAL_INPUTS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39365, + "src": "3268:19:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39492, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39480, + "src": "3289:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39490, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "3253:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39493, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3253:41:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39494, + "nodeType": "RevertStatement", + "src": "3246:48:14" + } + ] + } + }, + { + "expression": { + "id": 39497, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39480, + "src": "3322:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39476, + "id": 39498, + "nodeType": "Return", + "src": "3315:11:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialInputs", + "nameLocation": "3060:18:14", + "parameters": { + "id": 39473, + "nodeType": "ParameterList", + "parameters": [], + "src": "3078:2:14" + }, + "returnParameters": { + "id": 39476, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39475, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39500, + "src": "3104:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39474, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3104:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3103:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39535, + "nodeType": "FunctionDefinition", + "src": "3339:345:14", + "nodes": [], + "body": { + "id": 39534, + "nodeType": "Block", + "src": "3443:241:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39511, + 39513 + ], + "declarations": [ + { + "constant": false, + "id": 39511, + "mutability": "mutable", + "name": "success", + "nameLocation": "3459:7:14", + "nodeType": "VariableDeclaration", + "scope": 39534, + "src": "3454:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39510, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3454:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39513, + "mutability": "mutable", + "name": "data", + "nameLocation": "3481:4:14", + "nodeType": "VariableDeclaration", + "scope": 39534, + "src": "3468:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39512, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3468:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39522, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39518, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39503, + "src": "3539:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 39519, + "name": "key", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39505, + "src": "3546:3:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 39516, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3528:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39517, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3532:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3528:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3528:22:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39514, + "name": "CONFIDENTIAL_STORE_RETRIEVE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39368, + "src": "3489:27:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39515, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3517:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "3489:38:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39521, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3489:62:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3453:98:14" + }, + { + "condition": { + "id": 39524, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3565:8:14", + "subExpression": { + "id": 39523, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39511, + "src": "3566:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39531, + "nodeType": "IfStatement", + "src": "3561:95:14", + "trueBody": { + "id": 39530, + "nodeType": "Block", + "src": "3575:81:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39526, + "name": "CONFIDENTIAL_STORE_RETRIEVE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39368, + "src": "3611:27:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39527, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39513, + "src": "3640:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39525, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "3596:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39528, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3596:49:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39529, + "nodeType": "RevertStatement", + "src": "3589:56:14" + } + ] + } + }, + { + "expression": { + "id": 39532, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39513, + "src": "3673:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39509, + "id": 39533, + "nodeType": "Return", + "src": "3666:11:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreRetrieve", + "nameLocation": "3348:25:14", + "parameters": { + "id": 39506, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39503, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "3380:5:14", + "nodeType": "VariableDeclaration", + "scope": 39535, + "src": "3374:11:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39502, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39501, + "name": "BidId", + "nameLocations": [ + "3374:5:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3374:5:14" + }, + "referencedDeclaration": 39311, + "src": "3374:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39505, + "mutability": "mutable", + "name": "key", + "nameLocation": "3401:3:14", + "nodeType": "VariableDeclaration", + "scope": 39535, + "src": "3387:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39504, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3387:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3373:32:14" + }, + "returnParameters": { + "id": 39509, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39508, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39535, + "src": "3429:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39507, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3429:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3428:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39569, + "nodeType": "FunctionDefinition", + "src": "3690:318:14", + "nodes": [], + "body": { + "id": 39568, + "nodeType": "Block", + "src": "3788:220:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39546, + 39548 + ], + "declarations": [ + { + "constant": false, + "id": 39546, + "mutability": "mutable", + "name": "success", + "nameLocation": "3804:7:14", + "nodeType": "VariableDeclaration", + "scope": 39568, + "src": "3799:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39545, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3799:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39548, + "mutability": "mutable", + "name": "data", + "nameLocation": "3826:4:14", + "nodeType": "VariableDeclaration", + "scope": 39568, + "src": "3813:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39547, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3813:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39558, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39553, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39538, + "src": "3881:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 39554, + "name": "key", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39540, + "src": "3888:3:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 39555, + "name": "data1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39542, + "src": "3893:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39551, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3870:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39552, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3874:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3870:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39556, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3870:29:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39549, + "name": "CONFIDENTIAL_STORE_STORE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39371, + "src": "3834:24:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39550, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3859:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "3834:35:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39557, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3834:66:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3798:102:14" + }, + { + "condition": { + "id": 39560, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3914:8:14", + "subExpression": { + "id": 39559, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39546, + "src": "3915:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39567, + "nodeType": "IfStatement", + "src": "3910:92:14", + "trueBody": { + "id": 39566, + "nodeType": "Block", + "src": "3924:78:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39562, + "name": "CONFIDENTIAL_STORE_STORE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39371, + "src": "3960:24:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39563, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39548, + "src": "3986:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39561, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "3945:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39564, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3945:46:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39565, + "nodeType": "RevertStatement", + "src": "3938:53:14" + } + ] + } + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreStore", + "nameLocation": "3699:22:14", + "parameters": { + "id": 39543, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39538, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "3728:5:14", + "nodeType": "VariableDeclaration", + "scope": 39569, + "src": "3722:11:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39537, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39536, + "name": "BidId", + "nameLocations": [ + "3722:5:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3722:5:14" + }, + "referencedDeclaration": 39311, + "src": "3722:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39540, + "mutability": "mutable", + "name": "key", + "nameLocation": "3749:3:14", + "nodeType": "VariableDeclaration", + "scope": 39569, + "src": "3735:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39539, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3735:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39542, + "mutability": "mutable", + "name": "data1", + "nameLocation": "3767:5:14", + "nodeType": "VariableDeclaration", + "scope": 39569, + "src": "3754:18:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39541, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3754:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3721:52:14" + }, + "returnParameters": { + "id": 39544, + "nodeType": "ParameterList", + "parameters": [], + "src": "3788:0:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39609, + "nodeType": "FunctionDefinition", + "src": "4014:329:14", + "nodes": [], + "body": { + "id": 39608, + "nodeType": "Block", + "src": "4111:232:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39579, + 39581 + ], + "declarations": [ + { + "constant": false, + "id": 39579, + "mutability": "mutable", + "name": "success", + "nameLocation": "4127:7:14", + "nodeType": "VariableDeclaration", + "scope": 39608, + "src": "4122:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39578, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4122:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39581, + "mutability": "mutable", + "name": "data", + "nameLocation": "4149:4:14", + "nodeType": "VariableDeclaration", + "scope": 39608, + "src": "4136:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39580, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4136:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39590, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39586, + "name": "contractAddr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39571, + "src": "4187:12:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39587, + "name": "input1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39573, + "src": "4201:6:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39584, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4176:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39585, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4180:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4176:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39588, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4176:32:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39582, + "name": "ETHCALL", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39374, + "src": "4157:7:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39583, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4165:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "4157:18:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39589, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4157:52:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4121:88:14" + }, + { + "condition": { + "id": 39592, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4223:8:14", + "subExpression": { + "id": 39591, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39579, + "src": "4224:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39599, + "nodeType": "IfStatement", + "src": "4219:75:14", + "trueBody": { + "id": 39598, + "nodeType": "Block", + "src": "4233:61:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39594, + "name": "ETHCALL", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39374, + "src": "4269:7:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39595, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39581, + "src": "4278:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39593, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "4254:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39596, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4254:29:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39597, + "nodeType": "RevertStatement", + "src": "4247:36:14" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 39602, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39581, + "src": "4322:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 39604, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4329:5:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 39603, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4329:5:14", + "typeDescriptions": {} + } + } + ], + "id": 39605, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "4328:7:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 39600, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4311:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39601, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4315:6:14", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "4311:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 39606, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4311:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39577, + "id": 39607, + "nodeType": "Return", + "src": "4304:32:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "ethcall", + "nameLocation": "4023:7:14", + "parameters": { + "id": 39574, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39571, + "mutability": "mutable", + "name": "contractAddr", + "nameLocation": "4039:12:14", + "nodeType": "VariableDeclaration", + "scope": 39609, + "src": "4031:20:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39570, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4031:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39573, + "mutability": "mutable", + "name": "input1", + "nameLocation": "4066:6:14", + "nodeType": "VariableDeclaration", + "scope": 39609, + "src": "4053:19:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39572, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4053:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4030:43:14" + }, + "returnParameters": { + "id": 39577, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39576, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39609, + "src": "4097:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39575, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4097:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4096:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39645, + "nodeType": "FunctionDefinition", + "src": "4349:329:14", + "nodes": [], + "body": { + "id": 39644, + "nodeType": "Block", + "src": "4432:246:14", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 39617, + "name": "isConfidential", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39423, + "src": "4450:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 39618, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4450:16:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 39616, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "4442:7:14", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 39619, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4442:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39620, + "nodeType": "ExpressionStatement", + "src": "4442:25:14" + }, + { + "assignments": [ + 39622, + 39624 + ], + "declarations": [ + { + "constant": false, + "id": 39622, + "mutability": "mutable", + "name": "success", + "nameLocation": "4483:7:14", + "nodeType": "VariableDeclaration", + "scope": 39644, + "src": "4478:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39621, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4478:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39624, + "mutability": "mutable", + "name": "data", + "nameLocation": "4505:4:14", + "nodeType": "VariableDeclaration", + "scope": 39644, + "src": "4492:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39623, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4492:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39632, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39629, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39611, + "src": "4548:10:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39627, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4537:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39628, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4541:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4537:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4537:22:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39625, + "name": "EXTRACT_HINT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39377, + "src": "4513:12:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39626, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4526:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "4513:23:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39631, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4513:47:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4477:83:14" + }, + { + "condition": { + "id": 39634, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4574:8:14", + "subExpression": { + "id": 39633, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39622, + "src": "4575:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39641, + "nodeType": "IfStatement", + "src": "4570:80:14", + "trueBody": { + "id": 39640, + "nodeType": "Block", + "src": "4584:66:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39636, + "name": "EXTRACT_HINT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39377, + "src": "4620:12:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39637, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39624, + "src": "4634:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39635, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "4605:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39638, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4605:34:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39639, + "nodeType": "RevertStatement", + "src": "4598:41:14" + } + ] + } + }, + { + "expression": { + "id": 39642, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39624, + "src": "4667:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39615, + "id": 39643, + "nodeType": "Return", + "src": "4660:11:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "extractHint", + "nameLocation": "4358:11:14", + "parameters": { + "id": 39612, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39611, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "4383:10:14", + "nodeType": "VariableDeclaration", + "scope": 39645, + "src": "4370:23:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39610, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4370:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4369:25:14" + }, + "returnParameters": { + "id": 39615, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39614, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39645, + "src": "4418:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39613, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4418:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4417:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39687, + "nodeType": "FunctionDefinition", + "src": "4684:327:14", + "nodes": [], + "body": { + "id": 39686, + "nodeType": "Block", + "src": "4778:233:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39657, + 39659 + ], + "declarations": [ + { + "constant": false, + "id": 39657, + "mutability": "mutable", + "name": "success", + "nameLocation": "4794:7:14", + "nodeType": "VariableDeclaration", + "scope": 39686, + "src": "4789:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39656, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4789:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39659, + "mutability": "mutable", + "name": "data", + "nameLocation": "4816:4:14", + "nodeType": "VariableDeclaration", + "scope": 39686, + "src": "4803:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39658, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4803:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39668, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39664, + "name": "cond", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39647, + "src": "4857:4:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 39665, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39649, + "src": "4863:9:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 39662, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4846:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4850:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4846:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39666, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4846:27:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39660, + "name": "FETCH_BIDS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39380, + "src": "4824:10:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39661, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4835:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "4824:21:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4824:50:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4788:86:14" + }, + { + "condition": { + "id": 39670, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4888:8:14", + "subExpression": { + "id": 39669, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39657, + "src": "4889:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39677, + "nodeType": "IfStatement", + "src": "4884:78:14", + "trueBody": { + "id": 39676, + "nodeType": "Block", + "src": "4898:64:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39672, + "name": "FETCH_BIDS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39380, + "src": "4934:10:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39673, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39659, + "src": "4946:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39671, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "4919:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39674, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4919:32:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39675, + "nodeType": "RevertStatement", + "src": "4912:39:14" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 39680, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39659, + "src": "4990:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "id": 39681, + "name": "Bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39328, + "src": "4997:3:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + }, + "id": 39682, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4997:5:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + } + ], + "id": 39683, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "4996:7:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + ], + "expression": { + "id": 39678, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4979:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39679, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4983:6:14", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "4979:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 39684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4979:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "functionReturnParameters": 39655, + "id": 39685, + "nodeType": "Return", + "src": "4972:32:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBids", + "nameLocation": "4693:9:14", + "parameters": { + "id": 39650, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39647, + "mutability": "mutable", + "name": "cond", + "nameLocation": "4710:4:14", + "nodeType": "VariableDeclaration", + "scope": 39687, + "src": "4703:11:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39646, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "4703:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39649, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "4730:9:14", + "nodeType": "VariableDeclaration", + "scope": 39687, + "src": "4716:23:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39648, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4716:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "4702:38:14" + }, + "returnParameters": { + "id": 39655, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39654, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39687, + "src": "4764:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 39652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39651, + "name": "Bid", + "nameLocations": [ + "4764:3:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4764:3:14" + }, + "referencedDeclaration": 39328, + "src": "4764:3:14", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 39653, + "nodeType": "ArrayTypeName", + "src": "4764:5:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "src": "4763:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39724, + "nodeType": "FunctionDefinition", + "src": "5017:337:14", + "nodes": [], + "body": { + "id": 39723, + "nodeType": "Block", + "src": "5095:259:14", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 39696, + "name": "isConfidential", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39423, + "src": "5113:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 39697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5113:16:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 39695, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "5105:7:14", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 39698, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5105:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39699, + "nodeType": "ExpressionStatement", + "src": "5105:25:14" + }, + { + "assignments": [ + 39701, + 39703 + ], + "declarations": [ + { + "constant": false, + "id": 39701, + "mutability": "mutable", + "name": "success", + "nameLocation": "5146:7:14", + "nodeType": "VariableDeclaration", + "scope": 39723, + "src": "5141:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39700, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5141:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39703, + "mutability": "mutable", + "name": "data", + "nameLocation": "5168:4:14", + "nodeType": "VariableDeclaration", + "scope": 39723, + "src": "5155:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39702, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5155:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39711, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39708, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39690, + "src": "5220:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 39706, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5209:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39707, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5213:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "5209:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39709, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5209:17:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39704, + "name": "FILL_MEV_SHARE_BUNDLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39383, + "src": "5176:21:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5198:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "5176:32:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5176:51:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5140:87:14" + }, + { + "condition": { + "id": 39713, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5241:8:14", + "subExpression": { + "id": 39712, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39701, + "src": "5242:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39720, + "nodeType": "IfStatement", + "src": "5237:89:14", + "trueBody": { + "id": 39719, + "nodeType": "Block", + "src": "5251:75:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39715, + "name": "FILL_MEV_SHARE_BUNDLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39383, + "src": "5287:21:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39716, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39703, + "src": "5310:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39714, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "5272:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39717, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5272:43:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39718, + "nodeType": "RevertStatement", + "src": "5265:50:14" + } + ] + } + }, + { + "expression": { + "id": 39721, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39703, + "src": "5343:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39694, + "id": 39722, + "nodeType": "Return", + "src": "5336:11:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fillMevShareBundle", + "nameLocation": "5026:18:14", + "parameters": { + "id": 39691, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39690, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5051:5:14", + "nodeType": "VariableDeclaration", + "scope": 39724, + "src": "5045:11:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39689, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39688, + "name": "BidId", + "nameLocations": [ + "5045:5:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5045:5:14" + }, + "referencedDeclaration": 39311, + "src": "5045:5:14", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5044:13:14" + }, + "returnParameters": { + "id": 39694, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39693, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39724, + "src": "5081:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39692, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5081:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5080:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39772, + "nodeType": "FunctionDefinition", + "src": "5360:486:14", + "nodes": [], + "body": { + "id": 39771, + "nodeType": "Block", + "src": "5565:281:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39741, + 39743 + ], + "declarations": [ + { + "constant": false, + "id": 39741, + "mutability": "mutable", + "name": "success", + "nameLocation": "5581:7:14", + "nodeType": "VariableDeclaration", + "scope": 39771, + "src": "5576:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39740, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5576:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39743, + "mutability": "mutable", + "name": "data", + "nameLocation": "5603:4:14", + "nodeType": "VariableDeclaration", + "scope": 39771, + "src": "5590:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39742, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5590:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39754, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39748, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39726, + "src": "5653:19:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 39749, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39729, + "src": "5674:14:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 39750, + "name": "allowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39732, + "src": "5690:13:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 39751, + "name": "bidType", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39734, + "src": "5705:7:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 39746, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5642:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5646:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "5642:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5642:71:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39744, + "name": "NEW_BID", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39386, + "src": "5623:7:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39745, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5631:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "5623:18:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39753, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5623:91:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5575:139:14" + }, + { + "condition": { + "id": 39756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5728:8:14", + "subExpression": { + "id": 39755, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39741, + "src": "5729:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39763, + "nodeType": "IfStatement", + "src": "5724:75:14", + "trueBody": { + "id": 39762, + "nodeType": "Block", + "src": "5738:61:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39758, + "name": "NEW_BID", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39386, + "src": "5774:7:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39759, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39743, + "src": "5783:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39757, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "5759:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39760, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5759:29:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39761, + "nodeType": "RevertStatement", + "src": "5752:36:14" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 39766, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39743, + "src": "5827:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 39767, + "name": "Bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39328, + "src": "5834:3:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + } + ], + "id": 39768, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5833:5:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + ], + "expression": { + "id": 39764, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5816:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39765, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5820:6:14", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "5816:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 39769, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5816:23:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "functionReturnParameters": 39739, + "id": 39770, + "nodeType": "Return", + "src": "5809:30:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "5369:6:14", + "parameters": { + "id": 39735, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39726, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "5392:19:14", + "nodeType": "VariableDeclaration", + "scope": 39772, + "src": "5385:26:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39725, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5385:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39729, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "5438:14:14", + "nodeType": "VariableDeclaration", + "scope": 39772, + "src": "5421:31:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 39727, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5421:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39728, + "nodeType": "ArrayTypeName", + "src": "5421:9:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39732, + "mutability": "mutable", + "name": "allowedStores", + "nameLocation": "5479:13:14", + "nodeType": "VariableDeclaration", + "scope": 39772, + "src": "5462:30:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 39730, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5462:7:14", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39731, + "nodeType": "ArrayTypeName", + "src": "5462:9:14", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39734, + "mutability": "mutable", + "name": "bidType", + "nameLocation": "5516:7:14", + "nodeType": "VariableDeclaration", + "scope": 39772, + "src": "5502:21:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39733, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5502:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "5375:154:14" + }, + "returnParameters": { + "id": 39739, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39738, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39772, + "src": "5553:10:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 39737, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39736, + "name": "Bid", + "nameLocations": [ + "5553:3:14" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5553:3:14" + }, + "referencedDeclaration": 39328, + "src": "5553:3:14", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "5552:12:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39815, + "nodeType": "FunctionDefinition", + "src": "5852:422:14", + "nodes": [], + "body": { + "id": 39814, + "nodeType": "Block", + "src": "6012:262:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39784, + 39786 + ], + "declarations": [ + { + "constant": false, + "id": 39784, + "mutability": "mutable", + "name": "success", + "nameLocation": "6028:7:14", + "nodeType": "VariableDeclaration", + "scope": 39814, + "src": "6023:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39783, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6023:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39786, + "mutability": "mutable", + "name": "data", + "nameLocation": "6050:4:14", + "nodeType": "VariableDeclaration", + "scope": 39814, + "src": "6037:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39785, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6037:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39796, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39791, + "name": "txn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39774, + "src": "6101:3:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "id": 39792, + "name": "chainId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39776, + "src": "6106:7:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 39793, + "name": "signingKey", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39778, + "src": "6115:10:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 39789, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6090:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39790, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6094:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "6090:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39794, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6090:36:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39787, + "name": "SIGN_ETH_TRANSACTION", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39389, + "src": "6058:20:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39788, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6079:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "6058:31:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39795, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6058:69:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6022:105:14" + }, + { + "condition": { + "id": 39798, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6141:8:14", + "subExpression": { + "id": 39797, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39784, + "src": "6142:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39805, + "nodeType": "IfStatement", + "src": "6137:88:14", + "trueBody": { + "id": 39804, + "nodeType": "Block", + "src": "6151:74:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39800, + "name": "SIGN_ETH_TRANSACTION", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39389, + "src": "6187:20:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39801, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39786, + "src": "6209:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39799, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "6172:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39802, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6172:42:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39803, + "nodeType": "RevertStatement", + "src": "6165:49:14" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 39808, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39786, + "src": "6253:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 39810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6260:5:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 39809, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6260:5:14", + "typeDescriptions": {} + } + } + ], + "id": 39811, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6259:7:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 39806, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6242:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6246:6:14", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6242:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 39812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6242:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39782, + "id": 39813, + "nodeType": "Return", + "src": "6235:32:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "signEthTransaction", + "nameLocation": "5861:18:14", + "parameters": { + "id": 39779, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39774, + "mutability": "mutable", + "name": "txn", + "nameLocation": "5893:3:14", + "nodeType": "VariableDeclaration", + "scope": 39815, + "src": "5880:16:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39773, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5880:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39776, + "mutability": "mutable", + "name": "chainId", + "nameLocation": "5912:7:14", + "nodeType": "VariableDeclaration", + "scope": 39815, + "src": "5898:21:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39775, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5898:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39778, + "mutability": "mutable", + "name": "signingKey", + "nameLocation": "5935:10:14", + "nodeType": "VariableDeclaration", + "scope": 39815, + "src": "5921:24:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39777, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5921:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "5879:67:14" + }, + "returnParameters": { + "id": 39782, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39781, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39815, + "src": "5994:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39780, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5994:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5993:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39852, + "nodeType": "FunctionDefinition", + "src": "6280:319:14", + "nodes": [], + "body": { + "id": 39851, + "nodeType": "Block", + "src": "6360:239:14", + "nodes": [], + "statements": [ + { + "assignments": [ + 39823, + 39825 + ], + "declarations": [ + { + "constant": false, + "id": 39823, + "mutability": "mutable", + "name": "success", + "nameLocation": "6376:7:14", + "nodeType": "VariableDeclaration", + "scope": 39851, + "src": "6371:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39822, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6371:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39825, + "mutability": "mutable", + "name": "data", + "nameLocation": "6398:4:14", + "nodeType": "VariableDeclaration", + "scope": 39851, + "src": "6385:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39824, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6385:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39833, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39830, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39817, + "src": "6444:10:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39828, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6433:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39829, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6437:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "6433:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39831, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6433:22:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39826, + "name": "SIMULATE_BUNDLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39392, + "src": "6406:15:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39827, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6422:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "6406:26:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6406:50:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6370:86:14" + }, + { + "condition": { + "id": 39835, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6470:8:14", + "subExpression": { + "id": 39834, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39823, + "src": "6471:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39842, + "nodeType": "IfStatement", + "src": "6466:83:14", + "trueBody": { + "id": 39841, + "nodeType": "Block", + "src": "6480:69:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39837, + "name": "SIMULATE_BUNDLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39392, + "src": "6516:15:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39838, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39825, + "src": "6533:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39836, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "6501:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39839, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6501:37:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39840, + "nodeType": "RevertStatement", + "src": "6494:44:14" + } + ] + } + }, + { + "expression": { + "arguments": [ + { + "id": 39845, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39825, + "src": "6577:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 39847, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6584:6:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 39846, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6584:6:14", + "typeDescriptions": {} + } + } + ], + "id": 39848, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6583:8:14", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 39843, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6566:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39844, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6570:6:14", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6566:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 39849, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6566:26:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "functionReturnParameters": 39821, + "id": 39850, + "nodeType": "Return", + "src": "6559:33:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "simulateBundle", + "nameLocation": "6289:14:14", + "parameters": { + "id": 39818, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39817, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "6317:10:14", + "nodeType": "VariableDeclaration", + "scope": 39852, + "src": "6304:23:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39816, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6304:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6303:25:14" + }, + "returnParameters": { + "id": 39821, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39820, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39852, + "src": "6352:6:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39819, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6352:6:14", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6351:8:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39894, + "nodeType": "FunctionDefinition", + "src": "6605:431:14", + "nodes": [], + "body": { + "id": 39893, + "nodeType": "Block", + "src": "6761:275:14", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 39864, + "name": "isConfidential", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39423, + "src": "6779:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 39865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6779:16:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 39863, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6771:7:14", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 39866, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6771:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39867, + "nodeType": "ExpressionStatement", + "src": "6771:25:14" + }, + { + "assignments": [ + 39869, + 39871 + ], + "declarations": [ + { + "constant": false, + "id": 39869, + "mutability": "mutable", + "name": "success", + "nameLocation": "6812:7:14", + "nodeType": "VariableDeclaration", + "scope": 39893, + "src": "6807:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39868, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6807:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39871, + "mutability": "mutable", + "name": "data", + "nameLocation": "6834:4:14", + "nodeType": "VariableDeclaration", + "scope": 39893, + "src": "6821:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39870, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6821:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39881, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39876, + "name": "url", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39854, + "src": "6887:3:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 39877, + "name": "method", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39856, + "src": "6892:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 39878, + "name": "params", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39858, + "src": "6900:6:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39874, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6876:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39875, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6880:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "6876:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39879, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6876:31:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39872, + "name": "SUBMIT_BUNDLE_JSON_RPC", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39395, + "src": "6842:22:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6865:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "6842:33:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6842:66:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6806:102:14" + }, + { + "condition": { + "id": 39883, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6922:8:14", + "subExpression": { + "id": 39882, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39869, + "src": "6923:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39890, + "nodeType": "IfStatement", + "src": "6918:90:14", + "trueBody": { + "id": 39889, + "nodeType": "Block", + "src": "6932:76:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39885, + "name": "SUBMIT_BUNDLE_JSON_RPC", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39395, + "src": "6968:22:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39886, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39871, + "src": "6992:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39884, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "6953:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39887, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6953:44:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39888, + "nodeType": "RevertStatement", + "src": "6946:51:14" + } + ] + } + }, + { + "expression": { + "id": 39891, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39871, + "src": "7025:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39862, + "id": 39892, + "nodeType": "Return", + "src": "7018:11:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitBundleJsonRPC", + "nameLocation": "6614:19:14", + "parameters": { + "id": 39859, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39854, + "mutability": "mutable", + "name": "url", + "nameLocation": "6648:3:14", + "nodeType": "VariableDeclaration", + "scope": 39894, + "src": "6634:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39853, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "6634:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39856, + "mutability": "mutable", + "name": "method", + "nameLocation": "6667:6:14", + "nodeType": "VariableDeclaration", + "scope": 39894, + "src": "6653:20:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "6653:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39858, + "mutability": "mutable", + "name": "params", + "nameLocation": "6688:6:14", + "nodeType": "VariableDeclaration", + "scope": 39894, + "src": "6675:19:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39857, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6675:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6633:62:14" + }, + "returnParameters": { + "id": 39862, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39861, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39894, + "src": "6743:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39860, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6743:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6742:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 39933, + "nodeType": "FunctionDefinition", + "src": "7042:438:14", + "nodes": [], + "body": { + "id": 39932, + "nodeType": "Block", + "src": "7190:290:14", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 39904, + "name": "isConfidential", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39423, + "src": "7208:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 39905, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7208:16:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 39903, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "7200:7:14", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 39906, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7200:25:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39907, + "nodeType": "ExpressionStatement", + "src": "7200:25:14" + }, + { + "assignments": [ + 39909, + 39911 + ], + "declarations": [ + { + "constant": false, + "id": 39909, + "mutability": "mutable", + "name": "success", + "nameLocation": "7241:7:14", + "nodeType": "VariableDeclaration", + "scope": 39932, + "src": "7236:12:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 39908, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "7236:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39911, + "mutability": "mutable", + "name": "data", + "nameLocation": "7263:4:14", + "nodeType": "VariableDeclaration", + "scope": 39932, + "src": "7250:17:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39910, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7250:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 39920, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "id": 39916, + "name": "relayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39896, + "src": "7323:8:14", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 39917, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39898, + "src": "7333:10:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39914, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7312:3:14", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 39915, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7316:6:14", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "7312:10:14", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 39918, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7312:32:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 39912, + "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39398, + "src": "7271:29:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39913, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7301:10:14", + "memberName": "staticcall", + "nodeType": "MemberAccess", + "src": "7271:40:14", + "typeDescriptions": { + "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bool,bytes memory)" + } + }, + "id": 39919, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7271:74:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7235:110:14" + }, + { + "condition": { + "id": 39922, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "7359:8:14", + "subExpression": { + "id": 39921, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39909, + "src": "7360:7:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 39929, + "nodeType": "IfStatement", + "src": "7355:97:14", + "trueBody": { + "id": 39928, + "nodeType": "Block", + "src": "7369:83:14", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "id": 39924, + "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39398, + "src": "7405:29:14", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 39925, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39911, + "src": "7436:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 39923, + "name": "PeekerReverted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39309, + "src": "7390:14:14", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 39926, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7390:51:14", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 39927, + "nodeType": "RevertStatement", + "src": "7383:58:14" + } + ] + } + }, + { + "expression": { + "id": 39930, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39911, + "src": "7469:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 39902, + "id": 39931, + "nodeType": "Return", + "src": "7462:11:14" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitEthBlockBidToRelay", + "nameLocation": "7051:24:14", + "parameters": { + "id": 39899, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39896, + "mutability": "mutable", + "name": "relayUrl", + "nameLocation": "7090:8:14", + "nodeType": "VariableDeclaration", + "scope": 39933, + "src": "7076:22:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39895, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "7076:6:14", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39898, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "7113:10:14", + "nodeType": "VariableDeclaration", + "scope": 39933, + "src": "7100:23:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7100:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "7075:49:14" + }, + "returnParameters": { + "id": 39902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39901, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39933, + "src": "7172:12:14", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39900, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7172:5:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "7171:14:14" + }, + "scope": 39934, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "Suave", + "contractDependencies": [], + "contractKind": "library", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 39934 + ], + "name": "Suave", + "nameLocation": "72:5:14", + "scope": 39935, + "usedErrors": [ + 39309 + ] + } + ], + "license": "UNLICENSED" + }, + "id": 14 +} \ No newline at end of file diff --git a/suave/artifacts/SuaveAbi.sol/SuaveAbi.json b/suave/artifacts/SuaveAbi.sol/SuaveAbi.json index 848a77b5c7..587812aed4 100644 --- a/suave/artifacts/SuaveAbi.sol/SuaveAbi.json +++ b/suave/artifacts/SuaveAbi.sol/SuaveAbi.json @@ -423,10 +423,2137 @@ "type": "function" } ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b506109c7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a", + "sourceMap": "61:1403:15:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a" + "object": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a", + "sourceMap": "61:1403:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:82;;;;;;:::i;:::-;-1:-1:-1;850:6:15;;778:82;;;;-1:-1:-1;;;;;1966:31:20;;;1948:50;;1936:2;1921:18;778:82:15;;;;;;;;865:85;;;;;;:::i;:::-;-1:-1:-1;934:12:15;;865:85;;;;;;;;:::i;1114:122::-;;;;;;:::i;:::-;1220:12;1114:122;;;;;128:175;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1241:86::-;;;;;;:::i;1332:130::-;;;;;;:::i;:::-;1446:12;1332:130;;;;;;412:105;;;;;;:::i;:::-;;;;;;;522:112;;;;;;:::i;305:102::-;;;;;;:::i;:::-;;;;;;;:::i;952:157::-;;;;;;:::i;:::-;1079:12;1093;952:157;;;;;;;;;;;;;;;:::i;128:175::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;283:16:15;128:175;;;;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:20;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:255::-;476:2;470:9;518:6;506:19;;-1:-1:-1;;;;;540:34:20;;576:22;;;537:62;534:88;;;602:18;;:::i;664:275::-;735:2;729:9;800:2;781:13;;-1:-1:-1;;777:27:20;765:40;;-1:-1:-1;;;;;820:34:20;;856:22;;;817:62;814:88;;;882:18;;:::i;:::-;918:2;911:22;664:275;;-1:-1:-1;664:275:20:o;944:530::-;986:5;1039:3;1032:4;1024:6;1020:17;1016:27;1006:55;;1057:1;1054;1047:12;1006:55;1093:6;1080:20;-1:-1:-1;;;;;1115:2:20;1112:26;1109:52;;;1141:18;;:::i;:::-;1185:55;1228:2;1209:13;;-1:-1:-1;;1205:27:20;1234:4;1201:38;1185:55;:::i;:::-;1265:2;1256:7;1249:19;1311:3;1304:4;1299:2;1291:6;1287:15;1283:26;1280:35;1277:55;;;1328:1;1325;1318:12;1277:55;1393:2;1386:4;1378:6;1374:17;1367:4;1358:7;1354:18;1341:55;1441:1;1416:16;;;1434:4;1412:27;1405:38;;;;1420:7;944:530;-1:-1:-1;;;944:530:20:o;1479:320::-;1547:6;1600:2;1588:9;1579:7;1575:23;1571:32;1568:52;;;1616:1;1613;1606:12;1568:52;1656:9;1643:23;-1:-1:-1;;;;;1681:6:20;1678:30;1675:50;;;1721:1;1718;1711:12;1675:50;1744:49;1785:7;1776:6;1765:9;1761:22;1744:49;:::i;2009:422::-;2050:3;2088:5;2082:12;2115:6;2110:3;2103:19;2140:1;2150:162;2164:6;2161:1;2158:13;2150:162;;;2226:4;2282:13;;;2278:22;;2272:29;2254:11;;;2250:20;;2243:59;2179:12;2150:162;;;2154:3;2357:1;2350:4;2341:6;2336:3;2332:16;2328:27;2321:38;2420:4;2413:2;2409:7;2404:2;2396:6;2392:15;2388:29;2383:3;2379:39;2375:50;2368:57;;;2009:422;;;;:::o;2436:217::-;2583:2;2572:9;2565:21;2546:4;2603:44;2643:2;2632:9;2628:18;2620:6;2603:44;:::i;:::-;2595:52;2436:217;-1:-1:-1;;;2436:217:20:o;2658:540::-;2745:6;2753;2806:2;2794:9;2785:7;2781:23;2777:32;2774:52;;;2822:1;2819;2812:12;2774:52;2862:9;2849:23;-1:-1:-1;;;;;2932:2:20;2924:6;2921:14;2918:34;;;2948:1;2945;2938:12;2918:34;2971:49;3012:7;3003:6;2992:9;2988:22;2971:49;:::i;:::-;2961:59;;3073:2;3062:9;3058:18;3045:32;3029:48;;3102:2;3092:8;3089:16;3086:36;;;3118:1;3115;3108:12;3086:36;;3141:51;3184:7;3173:8;3162:9;3158:24;3141:51;:::i;:::-;3131:61;;;2658:540;;;;;:::o;3203:171::-;3270:20;;-1:-1:-1;;;;;3319:30:20;;3309:41;;3299:69;;3364:1;3361;3354:12;3299:69;3203:171;;;:::o;3379:183::-;3439:4;-1:-1:-1;;;;;3464:6:20;3461:30;3458:56;;;3494:18;;:::i;:::-;-1:-1:-1;3539:1:20;3535:14;3551:4;3531:25;;3379:183::o;3567:173::-;3635:20;;-1:-1:-1;;;;;3684:31:20;;3674:42;;3664:70;;3730:1;3727;3720:12;3745:668;3799:5;3852:3;3845:4;3837:6;3833:17;3829:27;3819:55;;3870:1;3867;3860:12;3819:55;3906:6;3893:20;3932:4;3956:60;3972:43;4012:2;3972:43;:::i;:::-;3956:60;:::i;:::-;4050:15;;;4136:1;4132:10;;;;4120:23;;4116:32;;;4081:12;;;;4160:15;;;4157:35;;;4188:1;4185;4178:12;4157:35;4224:2;4216:6;4212:15;4236:148;4252:6;4247:3;4244:15;4236:148;;;4318:23;4337:3;4318:23;:::i;:::-;4306:36;;4362:12;;;;4269;;4236:148;;;-1:-1:-1;4402:5:20;3745:668;-1:-1:-1;;;;;;3745:668:20:o;4418:867::-;4563:6;4571;4579;4587;4640:3;4628:9;4619:7;4615:23;4611:33;4608:53;;;4657:1;4654;4647:12;4608:53;4680:28;4698:9;4680:28;:::i;:::-;4670:38;;4759:2;4748:9;4744:18;4731:32;-1:-1:-1;;;;;4823:2:20;4815:6;4812:14;4809:34;;;4839:1;4836;4829:12;4809:34;4862:61;4915:7;4906:6;4895:9;4891:22;4862:61;:::i;:::-;4852:71;;4976:2;4965:9;4961:18;4948:32;4932:48;;5005:2;4995:8;4992:16;4989:36;;;5021:1;5018;5011:12;4989:36;5044:63;5099:7;5088:8;5077:9;5073:24;5044:63;:::i;:::-;5034:73;;5160:2;5149:9;5145:18;5132:32;5116:48;;5189:2;5179:8;5176:16;5173:36;;;5205:1;5202;5195:12;5173:36;;5228:51;5271:7;5260:8;5249:9;5245:24;5228:51;:::i;:::-;5218:61;;;4418:867;;;;;;;:::o;5290:461::-;5343:3;5381:5;5375:12;5408:6;5403:3;5396:19;5434:4;5463:2;5458:3;5454:12;5447:19;;5500:2;5493:5;5489:14;5521:1;5531:195;5545:6;5542:1;5539:13;5531:195;;;5610:13;;-1:-1:-1;;;;;5606:39:20;5594:52;;5666:12;;;;5701:15;;;;5642:1;5560:9;5531:195;;;-1:-1:-1;5742:3:20;;5290:461;-1:-1:-1;;;;;5290:461:20:o;5756:809::-;5802:3;5834:34;5830:39;5908:2;5900:5;5894:12;5890:21;5885:3;5878:34;5973:2;5965:4;5958:5;5954:16;5948:23;5944:32;5937:4;5932:3;5928:14;5921:56;;-1:-1:-1;;;;;6030:4:20;6023:5;6019:16;6013:23;6009:48;6002:4;5997:3;5993:14;5986:72;6104:4;6097:5;6093:16;6087:23;6142:4;6135;6130:3;6126:14;6119:28;6168:58;6220:4;6215:3;6211:14;6197:12;6168:58;:::i;:::-;6156:70;;6274:4;6267:5;6263:16;6257:23;6322:3;6316:4;6312:14;6305:4;6300:3;6296:14;6289:38;6350:50;6395:4;6379:14;6350:50;:::i;:::-;6336:64;;;6448:4;6441:5;6437:16;6431:23;6498:3;6490:6;6486:16;6479:4;6474:3;6470:14;6463:40;6519;6552:6;6536:14;6519:40;:::i;:::-;6512:47;5756:809;-1:-1:-1;;;;;5756:809:20:o;6570:248::-;6743:2;6732:9;6725:21;6706:4;6763:49;6808:2;6797:9;6793:18;6785:6;6763:49;:::i;6823:212::-;6910:20;;-1:-1:-1;;6959:51:20;;6949:62;;6939:90;;7025:1;7022;7015:12;7040:232;7126:6;7179:2;7167:9;7158:7;7154:23;7150:32;7147:52;;;7195:1;7192;7185:12;7147:52;7218:48;7256:9;7218:48;:::i;7277:739::-;7383:6;7391;7399;7452:2;7440:9;7431:7;7427:23;7423:32;7420:52;;;7468:1;7465;7458:12;7420:52;7508:9;7495:23;-1:-1:-1;;;;;7578:2:20;7570:6;7567:14;7564:34;;;7594:1;7591;7584:12;7564:34;7617:49;7658:7;7649:6;7638:9;7634:22;7617:49;:::i;:::-;7607:59;;7719:2;7708:9;7704:18;7691:32;7675:48;;7748:2;7738:8;7735:16;7732:36;;;7764:1;7761;7754:12;7732:36;7787:51;7830:7;7819:8;7808:9;7804:24;7787:51;:::i;:::-;7777:61;;7891:2;7880:9;7876:18;7863:32;7847:48;;7920:2;7910:8;7907:16;7904:36;;;7936:1;7933;7926:12;7904:36;;7959:51;8002:7;7991:8;7980:9;7976:24;7959:51;:::i;:::-;7949:61;;;7277:739;;;;;:::o;8021:660::-;8144:6;8152;8160;8213:2;8201:9;8192:7;8188:23;8184:32;8181:52;;;8229:1;8226;8219:12;8181:52;8252:48;8290:9;8252:48;:::i;:::-;8242:58;;8351:2;8340:9;8336:18;8323:32;-1:-1:-1;;;;;8415:2:20;8407:6;8404:14;8401:34;;;8431:1;8428;8421:12;8686:441;8791:6;8799;8852:2;8840:9;8831:7;8827:23;8823:32;8820:52;;;8868:1;8865;8858:12;8820:52;8891:48;8929:9;8891:48;:::i;:::-;8881:58;;8990:2;8979:9;8975:18;8962:32;-1:-1:-1;;;;;9009:6:20;9006:30;9003:50;;;9049:1;9046;9039:12;9003:50;9072:49;9113:7;9104:6;9093:9;9089:22;9072:49;:::i;9132:393::-;9209:6;9217;9270:2;9258:9;9249:7;9245:23;9241:32;9238:52;;;9286:1;9283;9276:12;9238:52;9309:28;9327:9;9309:28;:::i;9530:831::-;9716:4;9745:2;9785;9774:9;9770:18;9815:2;9804:9;9797:21;9838:6;9873;9867:13;9904:6;9896;9889:22;9942:2;9931:9;9927:18;9920:25;;10004:2;9994:6;9991:1;9987:14;9976:9;9972:30;9968:39;9954:53;;10042:2;10034:6;10030:15;10063:1;10073:259;10087:6;10084:1;10081:13;10073:259;;;10180:2;10176:7;10164:9;10156:6;10152:22;10148:36;10143:3;10136:49;10208:44;10245:6;10236;10230:13;10208:44;:::i;:::-;10198:54;-1:-1:-1;10310:12:20;;;;10275:15;;;;10109:1;10102:9;10073:259;;;-1:-1:-1;10349:6:20;;9530:831;-1:-1:-1;;;;;;;9530:831:20:o;10366:1142::-;10430:5;10483:3;10476:4;10468:6;10464:17;10460:27;10450:55;;10501:1;10498;10491:12;10450:55;10537:6;10524:20;10563:4;10587:60;10603:43;10643:2;10603:43;:::i;10587:60::-;10681:15;;;10767:1;10763:10;;;;10751:23;;10747:32;;;10712:12;;;;10791:15;;;10788:35;;;10819:1;10816;10809:12;10788:35;10855:2;10847:6;10843:15;10867:612;10883:6;10878:3;10875:15;10867:612;;;10961:4;10955:3;10950;10946:13;10942:24;10939:114;;;11007:1;11036:2;11032;11025:14;10939:114;11079:22;;:::i;:::-;11128;11146:3;11128:22;:::i;:::-;11121:5;11114:37;11187:31;11214:2;11209:3;11205:12;11187:31;:::i;:::-;11182:2;11175:5;11171:14;11164:55;11242:2;11280:32;11308:2;11303:3;11299:12;11280:32;:::i;:::-;11264:14;;;11257:56;11336:2;11374:31;11392:12;;;11374:31;:::i;:::-;11358:14;;;11351:55;11419:18;;11457:12;;;;10909:4;10900:14;10867:612;;11513:1508;11660:6;11668;11676;11729:2;11717:9;11708:7;11704:23;11700:32;11697:52;;;11745:1;11742;11735:12;11697:52;11785:9;11772:23;-1:-1:-1;;;;;11855:2:20;11847:6;11844:14;11841:34;;;11871:1;11868;11861:12;11841:34;11894:22;;;;11950:6;11932:16;;;11928:29;11925:49;;;11970:1;11967;11960:12;11925:49;11996:22;;:::i;:::-;12041:21;12059:2;12041:21;:::i;:::-;12034:5;12027:36;12109:2;12105;12101:11;12088:25;12138:2;12128:8;12125:16;12122:36;;;12154:1;12151;12144:12;12122:36;12190:44;12226:7;12215:8;12211:2;12207:17;12190:44;:::i;:::-;12185:2;12178:5;12174:14;12167:68;;12288:2;12284;12280:11;12267:25;12262:2;12255:5;12251:14;12244:49;12325:30;12351:2;12347;12343:11;12325:30;:::i;:::-;12320:2;12313:5;12309:14;12302:54;12389:32;12416:3;12412:2;12408:12;12389:32;:::i;:::-;12383:3;12376:5;12372:15;12365:57;12455:31;12481:3;12477:2;12473:12;12455:31;:::i;:::-;12449:3;12442:5;12438:15;12431:56;12541:3;12537:2;12533:12;12520:26;12514:3;12507:5;12503:15;12496:51;12593:3;12589:2;12585:12;12572:26;12623:2;12613:8;12610:16;12607:36;;;12639:1;12636;12629:12;12607:36;12676:66;12734:7;12723:8;12719:2;12715:17;12676:66;:::i;:::-;12670:3;12659:15;;12652:91;-1:-1:-1;12663:5:20;-1:-1:-1;12786:57:20;12839:2;12824:18;;12786:57;:::i;13026:377::-;13219:2;13208:9;13201:21;13182:4;13245:44;13285:2;13274:9;13270:18;13262:6;13245:44;:::i;:::-;13337:9;13329:6;13325:22;13320:2;13309:9;13305:18;13298:50;13365:32;13390:6;13382;13365:32;:::i", + "linkReferences": {} }, - "bytecode": { - "object": "0x608060405234801561001057600080fd5b506109c7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "buildEthBlock((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),bytes16,string)": "bd5bcdf3", + "confidentialStoreRetrieve(bytes16,string)": "ae9a6040", + "confidentialStoreStore(bytes16,string,bytes)": "a90a6c5f", + "extractHint(bytes)": "20f16c3e", + "fetchBids(uint64,string)": "b2c1714c", + "fillMevShareBundle(bytes16)": "8735d617", + "newBid(uint64,address[],address[],string)": "4f563141", + "signEthTransaction(bytes,string,string)": "fb4f1e0d", + "simulateBundle(bytes)": "023e8e2f", + "submitBundleJsonRPC(string,string,bytes)": "92649e7d", + "submitEthBlockBidToRelay(string,bytes)": "37a5686a" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"Suave.BidId\",\"name\":\"bid\",\"type\":\"bytes16\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"buildEthBlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"confidentialStoreRetrieve\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"confidentialStoreStore\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"bundleData\",\"type\":\"bytes\"}],\"name\":\"extractHint\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"cond\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"fetchBids\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"}],\"name\":\"fillMevShareBundle\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"BidType\",\"type\":\"string\"}],\"name\":\"newBid\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"txn\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"chainId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"signingKey\",\"type\":\"string\"}],\"name\":\"signEthTransaction\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"bundleData\",\"type\":\"bytes\"}],\"name\":\"simulateBundle\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"method\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"submitBundleJsonRPC\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"relayUrl\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"submitEthBlockBidToRelay\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/SuaveAbi.sol\":\"SuaveAbi\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveAbi.sol\":{\"keccak256\":\"0xc9af6110881152b55775bc398943500122ad6854dee2c5bfc4c830c06484f058\",\"urls\":[\"bzz-raw://cfff102664493202b1e0702d3c41a00fc2b5b26ea330f2b124e6f661ba78480b\",\"dweb:/ipfs/QmYhqyWSQ4Pd1NBGp7xHxnzrw6FAMdaARFtNckUzqh1tJC\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "Suave.BidId", + "name": "bid", + "type": "bytes16" + }, + { + "internalType": "string", + "name": "namespace", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "buildEthBlock", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16" + }, + { + "internalType": "string", + "name": "key", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "confidentialStoreRetrieve", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16" + }, + { + "internalType": "string", + "name": "key", + "type": "string" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "confidentialStoreStore" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "bundleData", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "extractHint", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "cond", + "type": "uint64" + }, + { + "internalType": "string", + "name": "namespace", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "fetchBids", + "outputs": [ + { + "internalType": "struct Suave.Bid[]", + "name": "", + "type": "tuple[]", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16" + } + ], + "stateMutability": "view", + "type": "function", + "name": "fillMevShareBundle", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "BidType", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "newBid", + "outputs": [ + { + "internalType": "struct Suave.Bid", + "name": "", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ] + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "txn", + "type": "bytes" + }, + { + "internalType": "string", + "name": "chainId", + "type": "string" + }, + { + "internalType": "string", + "name": "signingKey", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "signEthTransaction", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "bundleData", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "simulateBundle", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "url", + "type": "string" + }, + { + "internalType": "string", + "name": "method", + "type": "string" + }, + { + "internalType": "bytes", + "name": "params", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "submitBundleJsonRPC", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "string", + "name": "relayUrl", + "type": "string" + }, + { + "internalType": "bytes", + "name": "builderBid", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "submitEthBlockBidToRelay", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/libraries/SuaveAbi.sol": "SuaveAbi" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/libraries/SuaveAbi.sol": { + "keccak256": "0xc9af6110881152b55775bc398943500122ad6854dee2c5bfc4c830c06484f058", + "urls": [ + "bzz-raw://cfff102664493202b1e0702d3c41a00fc2b5b26ea330f2b124e6f661ba78480b", + "dweb:/ipfs/QmYhqyWSQ4Pd1NBGp7xHxnzrw6FAMdaARFtNckUzqh1tJC" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/libraries/SuaveAbi.sol", + "id": 40072, + "exportedSymbols": { + "Suave": [ + 39934 + ], + "SuaveAbi": [ + 40071 + ] + }, + "nodeType": "SourceUnit", + "src": "0:1465:15", + "nodes": [ + { + "id": 39936, + "nodeType": "PragmaDirective", + "src": "0:23:15", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 39938, + "nodeType": "ImportDirective", + "src": "25:34:15", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "./Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 40072, + "sourceUnit": 39935, + "symbolAliases": [ + { + "foreign": { + "id": 39937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "33:5:15", + "typeDescriptions": {} + }, + "nameLocation": "-1:-1:-1" + } + ], + "unitAlias": "" + }, + { + "id": 40071, + "nodeType": "ContractDefinition", + "src": "61:1403:15", + "nodes": [ + { + "id": 39944, + "nodeType": "ErrorDefinition", + "src": "85:37:15", + "nodes": [], + "errorSelector": "75fff467", + "name": "PeekerReverted", + "nameLocation": "91:14:15", + "parameters": { + "id": 39943, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39940, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39944, + "src": "106:7:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 39939, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "106:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39942, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39944, + "src": "115:5:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39941, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "115:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "105:16:15" + } + }, + { + "id": 39961, + "nodeType": "FunctionDefinition", + "src": "128:175:15", + "nodes": [], + "body": { + "id": 39960, + "nodeType": "Block", + "src": "301:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "4f563141", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "137:6:15", + "parameters": { + "id": 39955, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39946, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "151:19:15", + "nodeType": "VariableDeclaration", + "scope": 39961, + "src": "144:26:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39945, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "144:6:15", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39949, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "189:14:15", + "nodeType": "VariableDeclaration", + "scope": 39961, + "src": "172:31:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 39947, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "172:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39948, + "nodeType": "ArrayTypeName", + "src": "172:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39952, + "mutability": "mutable", + "name": "allowedStores", + "nameLocation": "222:13:15", + "nodeType": "VariableDeclaration", + "scope": 39961, + "src": "205:30:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 39950, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "205:7:15", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 39951, + "nodeType": "ArrayTypeName", + "src": "205:9:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39954, + "mutability": "mutable", + "name": "BidType", + "nameLocation": "251:7:15", + "nodeType": "VariableDeclaration", + "scope": 39961, + "src": "237:21:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39953, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "237:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "143:116:15" + }, + "returnParameters": { + "id": 39959, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39958, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39961, + "src": "283:16:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 39957, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39956, + "name": "Suave.Bid", + "nameLocations": [ + "283:5:15", + "289:3:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "283:9:15" + }, + "referencedDeclaration": 39328, + "src": "283:9:15", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "282:18:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 39973, + "nodeType": "FunctionDefinition", + "src": "305:102:15", + "nodes": [], + "body": { + "id": 39972, + "nodeType": "Block", + "src": "405:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "b2c1714c", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBids", + "nameLocation": "314:9:15", + "parameters": { + "id": 39966, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39963, + "mutability": "mutable", + "name": "cond", + "nameLocation": "331:4:15", + "nodeType": "VariableDeclaration", + "scope": 39973, + "src": "324:11:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 39962, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "324:6:15", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39965, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "351:9:15", + "nodeType": "VariableDeclaration", + "scope": 39973, + "src": "337:23:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39964, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "337:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "323:38:15" + }, + "returnParameters": { + "id": 39971, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39970, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39973, + "src": "385:18:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 39968, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39967, + "name": "Suave.Bid", + "nameLocations": [ + "385:5:15", + "391:3:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "385:9:15" + }, + "referencedDeclaration": 39328, + "src": "385:9:15", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 39969, + "nodeType": "ArrayTypeName", + "src": "385:11:15", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "src": "384:20:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 39984, + "nodeType": "FunctionDefinition", + "src": "412:105:15", + "nodes": [], + "body": { + "id": 39983, + "nodeType": "Block", + "src": "515:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "a90a6c5f", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreStore", + "nameLocation": "421:22:15", + "parameters": { + "id": 39981, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39976, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "456:5:15", + "nodeType": "VariableDeclaration", + "scope": 39984, + "src": "444:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39975, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39974, + "name": "Suave.BidId", + "nameLocations": [ + "444:5:15", + "450:5:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "444:11:15" + }, + "referencedDeclaration": 39311, + "src": "444:11:15", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39978, + "mutability": "mutable", + "name": "key", + "nameLocation": "477:3:15", + "nodeType": "VariableDeclaration", + "scope": 39984, + "src": "463:17:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39977, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "463:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39980, + "mutability": "mutable", + "name": "data", + "nameLocation": "495:4:15", + "nodeType": "VariableDeclaration", + "scope": 39984, + "src": "482:17:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39979, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "482:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "443:57:15" + }, + "returnParameters": { + "id": 39982, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 39995, + "nodeType": "FunctionDefinition", + "src": "522:112:15", + "nodes": [], + "body": { + "id": 39994, + "nodeType": "Block", + "src": "632:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "ae9a6040", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreRetrieve", + "nameLocation": "531:25:15", + "parameters": { + "id": 39990, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39987, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "569:5:15", + "nodeType": "VariableDeclaration", + "scope": 39995, + "src": "557:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 39986, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 39985, + "name": "Suave.BidId", + "nameLocations": [ + "557:5:15", + "563:5:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "557:11:15" + }, + "referencedDeclaration": 39311, + "src": "557:11:15", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39989, + "mutability": "mutable", + "name": "key", + "nameLocation": "590:3:15", + "nodeType": "VariableDeclaration", + "scope": 39995, + "src": "576:17:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39988, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "576:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "556:38:15" + }, + "returnParameters": { + "id": 39993, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39992, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 39995, + "src": "618:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39991, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "618:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "617:14:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40007, + "nodeType": "FunctionDefinition", + "src": "639:134:15", + "nodes": [], + "body": { + "id": 40006, + "nodeType": "Block", + "src": "771:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "fb4f1e0d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "signEthTransaction", + "nameLocation": "648:18:15", + "parameters": { + "id": 40002, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 39997, + "mutability": "mutable", + "name": "txn", + "nameLocation": "680:3:15", + "nodeType": "VariableDeclaration", + "scope": 40007, + "src": "667:16:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 39996, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "667:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 39999, + "mutability": "mutable", + "name": "chainId", + "nameLocation": "699:7:15", + "nodeType": "VariableDeclaration", + "scope": 40007, + "src": "685:21:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 39998, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "685:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40001, + "mutability": "mutable", + "name": "signingKey", + "nameLocation": "722:10:15", + "nodeType": "VariableDeclaration", + "scope": 40007, + "src": "708:24:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40000, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "708:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "666:67:15" + }, + "returnParameters": { + "id": 40005, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40004, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40007, + "src": "757:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40003, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "757:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "756:14:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40015, + "nodeType": "FunctionDefinition", + "src": "778:82:15", + "nodes": [], + "body": { + "id": 40014, + "nodeType": "Block", + "src": "858:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "023e8e2f", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "simulateBundle", + "nameLocation": "787:14:15", + "parameters": { + "id": 40010, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40009, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "815:10:15", + "nodeType": "VariableDeclaration", + "scope": 40015, + "src": "802:23:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40008, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "802:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "801:25:15" + }, + "returnParameters": { + "id": 40013, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40012, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40015, + "src": "850:6:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40011, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "850:6:15", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "849:8:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40023, + "nodeType": "FunctionDefinition", + "src": "865:85:15", + "nodes": [], + "body": { + "id": 40022, + "nodeType": "Block", + "src": "948:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "20f16c3e", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "extractHint", + "nameLocation": "874:11:15", + "parameters": { + "id": 40018, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40017, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "899:10:15", + "nodeType": "VariableDeclaration", + "scope": 40023, + "src": "886:23:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40016, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "886:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "885:25:15" + }, + "returnParameters": { + "id": 40021, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40020, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40023, + "src": "934:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40019, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "934:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "933:14:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40039, + "nodeType": "FunctionDefinition", + "src": "952:157:15", + "nodes": [], + "body": { + "id": 40038, + "nodeType": "Block", + "src": "1107:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "bd5bcdf3", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildEthBlock", + "nameLocation": "961:13:15", + "parameters": { + "id": 40032, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40026, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "1003:9:15", + "nodeType": "VariableDeclaration", + "scope": 40039, + "src": "975:37:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 40025, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40024, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "975:5:15", + "981:14:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "975:20:15" + }, + "referencedDeclaration": 39347, + "src": "975:20:15", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40029, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1026:3:15", + "nodeType": "VariableDeclaration", + "scope": 40039, + "src": "1014:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40028, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40027, + "name": "Suave.BidId", + "nameLocations": [ + "1014:5:15", + "1020:5:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "1014:11:15" + }, + "referencedDeclaration": 39311, + "src": "1014:11:15", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40031, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "1045:9:15", + "nodeType": "VariableDeclaration", + "scope": 40039, + "src": "1031:23:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40030, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1031:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "974:81:15" + }, + "returnParameters": { + "id": 40037, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40034, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40039, + "src": "1079:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40033, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1079:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40036, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40039, + "src": "1093:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40035, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1093:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1078:28:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40049, + "nodeType": "FunctionDefinition", + "src": "1114:122:15", + "nodes": [], + "body": { + "id": 40048, + "nodeType": "Block", + "src": "1234:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "37a5686a", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitEthBlockBidToRelay", + "nameLocation": "1123:24:15", + "parameters": { + "id": 40044, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40041, + "mutability": "mutable", + "name": "relayUrl", + "nameLocation": "1162:8:15", + "nodeType": "VariableDeclaration", + "scope": 40049, + "src": "1148:22:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40040, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1148:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40043, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "1185:10:15", + "nodeType": "VariableDeclaration", + "scope": 40049, + "src": "1172:23:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40042, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1172:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1147:49:15" + }, + "returnParameters": { + "id": 40047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40046, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40049, + "src": "1220:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1220:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1219:14:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40058, + "nodeType": "FunctionDefinition", + "src": "1241:86:15", + "nodes": [], + "body": { + "id": 40057, + "nodeType": "Block", + "src": "1325:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "8735d617", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fillMevShareBundle", + "nameLocation": "1250:18:15", + "parameters": { + "id": 40053, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40052, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "1281:5:15", + "nodeType": "VariableDeclaration", + "scope": 40058, + "src": "1269:17:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40051, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40050, + "name": "Suave.BidId", + "nameLocations": [ + "1269:5:15", + "1275:5:15" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "1269:11:15" + }, + "referencedDeclaration": 39311, + "src": "1269:11:15", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "1268:19:15" + }, + "returnParameters": { + "id": 40056, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40055, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40058, + "src": "1311:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1311:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1310:14:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "id": 40070, + "nodeType": "FunctionDefinition", + "src": "1332:130:15", + "nodes": [], + "body": { + "id": 40069, + "nodeType": "Block", + "src": "1460:2:15", + "nodes": [], + "statements": [] + }, + "functionSelector": "92649e7d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitBundleJsonRPC", + "nameLocation": "1341:19:15", + "parameters": { + "id": 40065, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40060, + "mutability": "mutable", + "name": "url", + "nameLocation": "1375:3:15", + "nodeType": "VariableDeclaration", + "scope": 40070, + "src": "1361:17:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40059, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1361:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40062, + "mutability": "mutable", + "name": "method", + "nameLocation": "1394:6:15", + "nodeType": "VariableDeclaration", + "scope": 40070, + "src": "1380:20:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40061, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1380:6:15", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40064, + "mutability": "mutable", + "name": "params", + "nameLocation": "1415:6:15", + "nodeType": "VariableDeclaration", + "scope": 40070, + "src": "1402:19:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40063, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1402:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1360:62:15" + }, + "returnParameters": { + "id": 40068, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40067, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40070, + "src": "1446:12:15", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40066, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1446:5:15", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1445:14:15" + }, + "scope": 40071, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "SuaveAbi", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40071 + ], + "name": "SuaveAbi", + "nameLocation": "70:8:15", + "scope": 40072, + "usedErrors": [ + 39944 + ] + } + ] + }, + "id": 15 +} \ No newline at end of file diff --git a/suave/artifacts/SuaveForge.sol/SuaveForge.json b/suave/artifacts/SuaveForge.sol/SuaveForge.json index 3c4f4dc33a..cc5b9dcdd8 100644 --- a/suave/artifacts/SuaveForge.sol/SuaveForge.json +++ b/suave/artifacts/SuaveForge.sol/SuaveForge.json @@ -20,10 +20,6959 @@ "type": "function" } ], + "bytecode": { + "object": "0x61042f61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a", + "sourceMap": "199:4645:16:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;199:4645:16;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a" + "object": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a", + "sourceMap": "199:4645:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;674:463;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;732:13;757:22;792:6;:13;808:1;792:17;;;;:::i;:::-;782:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;782:28:16;-1:-1:-1;821:39:16;;;;;;;;;;;;-1:-1:-1;;;821:39:16;;;;757:53;;-1:-1:-1;821:18:16;871:201;895:6;:13;891:1;:17;871:201;;;948:5;973;:12;960:6;967:1;960:9;;;;;;;;:::i;:::-;;;;;954:31;;;960:9;;954:31;:::i;:::-;948:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;948:38:16;929:9;939:5;:1;943;939:5;:::i;:::-;929:16;;;;;;;;:::i;:::-;;;;:57;-1:-1:-1;;;;;929:57:16;;;;;;;;;1023:5;1048;:12;1035:6;1042:1;1035:9;;;;;;;;:::i;:::-;;;;;1029:31;;;1035:9;;1029:31;:::i;:::-;1023:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;1023:38:16;1000:9;1010:5;:1;1014;1010:5;:::i;:::-;:9;;1018:1;1010:9;:::i;:::-;1000:20;;;;;;;;:::i;:::-;;;;:61;-1:-1:-1;;;;;1000:61:16;;;;;;;;-1:-1:-1;910:3:16;;;;:::i;:::-;;;;871:201;;;;1119:9;1096:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;1082:48;;;;674:463;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:921;214:6;267:2;255:9;246:7;242:23;238:32;235:52;;;283:1;280;273:12;235:52;323:9;310:23;352:18;393:2;385:6;382:14;379:34;;;409:1;406;399:12;379:34;447:6;436:9;432:22;422:32;;492:7;485:4;481:2;477:13;473:27;463:55;;514:1;511;504:12;463:55;550:2;537:16;572:2;568;565:10;562:36;;;578:18;;:::i;:::-;653:2;647:9;621:2;707:13;;-1:-1:-1;;703:22:20;;;727:2;699:31;695:40;683:53;;;751:18;;;771:22;;;748:46;745:72;;;797:18;;:::i;:::-;837:10;833:2;826:22;872:2;864:6;857:18;912:7;907:2;902;898;894:11;890:20;887:33;884:53;;;933:1;930;923:12;884:53;989:2;984;980;976:11;971:2;963:6;959:15;946:46;1034:1;1012:15;;;1029:2;1008:24;1001:35;;;;-1:-1:-1;1016:6:20;146:921;-1:-1:-1;;;;;146:921:20:o;1072:250::-;1157:1;1167:113;1181:6;1178:1;1175:13;1167:113;;;1257:11;;;1251:18;1238:11;;;1231:39;1203:2;1196:10;1167:113;;;-1:-1:-1;;1314:1:20;1296:16;;1289:27;1072:250::o;1327:404::-;1484:2;1473:9;1466:21;1447:4;1516:6;1510:13;1559:6;1554:2;1543:9;1539:18;1532:34;1575:79;1647:6;1642:2;1631:9;1627:18;1622:2;1614:6;1610:15;1575:79;:::i;:::-;1715:2;1694:15;-1:-1:-1;;1690:29:20;1675:45;;;;1722:2;1671:54;;1327:404;-1:-1:-1;;1327:404:20:o;1736:127::-;1797:10;1792:3;1788:20;1785:1;1778:31;1828:4;1825:1;1818:15;1852:4;1849:1;1842:15;1868:168;1941:9;;;1972;;1989:15;;;1983:22;;1969:37;1959:71;;2010:18;;:::i;:::-;1868:168;;;;:::o;2041:127::-;2102:10;2097:3;2093:20;2090:1;2083:31;2133:4;2130:1;2123:15;2157:4;2154:1;2147:15;2173:127;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:120;2345:1;2371;2361:35;;2376:18;;:::i;:::-;-1:-1:-1;2410:9:20;;2305:120::o;2430:112::-;2462:1;2488;2478:35;;2493:18;;:::i;:::-;-1:-1:-1;2527:9:20;;2430:112::o;2547:125::-;2612:9;;;2633:10;;;2630:36;;;2646:18;;:::i;2677:135::-;2716:3;2737:17;;;2734:43;;2757:18;;:::i;:::-;-1:-1:-1;2804:1:20;2793:13;;2677:135::o;2817:430::-;-1:-1:-1;;;3072:3:20;3065:17;3047:3;3111:6;3105:13;3127:74;3194:6;3190:1;3185:3;3181:11;3174:4;3166:6;3162:17;3127:74;:::i;:::-;3221:16;;;;3239:1;3217:24;;2817:430;-1:-1:-1;;2817:430:20:o", + "linkReferences": {} }, - "bytecode": { - "object": "0x61042f61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "iToHex(bytes)": "671ff786" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"buffer\",\"type\":\"bytes\"}],\"name\":\"iToHex\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/SuaveForge.sol\":\"SuaveForge\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveForge.sol\":{\"keccak256\":\"0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067\",\"dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "buffer", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function", + "name": "iToHex", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/libraries/SuaveForge.sol": "SuaveForge" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/libraries/SuaveForge.sol": { + "keccak256": "0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34", + "urls": [ + "bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067", + "dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd" + ], + "license": "UNLICENSED" + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/libraries/SuaveForge.sol", + "id": 40582, + "exportedSymbols": { + "Suave": [ + 39934 + ], + "SuaveForge": [ + 40581 + ], + "Vm": [ + 40083 + ] + }, + "nodeType": "SourceUnit", + "src": "39:4806:16", + "nodes": [ + { + "id": 40073, + "nodeType": "PragmaDirective", + "src": "39:23:16", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40074, + "nodeType": "ImportDirective", + "src": "64:21:16", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "./Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 40582, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40083, + "nodeType": "ContractDefinition", + "src": "87:110:16", + "nodes": [ + { + "id": 40082, + "nodeType": "FunctionDefinition", + "src": "106:89:16", + "nodes": [], + "functionSelector": "89160467", + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "ffi", + "nameLocation": "115:3:16", + "parameters": { + "id": 40078, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40077, + "mutability": "mutable", + "name": "commandInput", + "nameLocation": "137:12:16", + "nodeType": "VariableDeclaration", + "scope": 40082, + "src": "119:30:16", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40075, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "119:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40076, + "nodeType": "ArrayTypeName", + "src": "119:8:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "118:32:16" + }, + "returnParameters": { + "id": 40081, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40080, + "mutability": "mutable", + "name": "result", + "nameLocation": "187:6:16", + "nodeType": "VariableDeclaration", + "scope": 40082, + "src": "174:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40079, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "174:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "173:21:16" + }, + "scope": 40083, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "Vm", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "linearizedBaseContracts": [ + 40083 + ], + "name": "Vm", + "nameLocation": "97:2:16", + "scope": 40582, + "usedErrors": [] + }, + { + "id": 40581, + "nodeType": "ContractDefinition", + "src": "199:4645:16", + "nodes": [ + { + "id": 40089, + "nodeType": "VariableDeclaration", + "src": "224:63:16", + "nodes": [], + "constant": true, + "mutability": "constant", + "name": "vm", + "nameLocation": "236:2:16", + "scope": 40581, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + }, + "typeName": { + "id": 40085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40084, + "name": "Vm", + "nameLocations": [ + "224:2:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40083, + "src": "224:2:16" + }, + "referencedDeclaration": 40083, + "src": "224:2:16", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + } + }, + "value": { + "arguments": [ + { + "hexValue": "307837313039373039454366613931613830363236664633393839443638663637463562314444313244", + "id": 40087, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "244:42:16", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x7109709ECfa91a80626fF3989D68f67F5b1DD12D" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 40086, + "name": "Vm", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40083, + "src": "241:2:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Vm_$40083_$", + "typeString": "type(contract Vm)" + } + }, + "id": 40088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "241:46:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + } + }, + "visibility": "internal" + }, + { + "id": 40149, + "nodeType": "FunctionDefinition", + "src": "294:374:16", + "nodes": [], + "body": { + "id": 40148, + "nodeType": "Block", + "src": "387:281:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40099 + ], + "declarations": [ + { + "constant": false, + "id": 40099, + "mutability": "mutable", + "name": "dataHex", + "nameLocation": "411:7:16", + "nodeType": "VariableDeclaration", + "scope": 40148, + "src": "397:21:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40098, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "397:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 40103, + "initialValue": { + "arguments": [ + { + "id": 40101, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40093, + "src": "428:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40100, + "name": "iToHex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40231, + "src": "421:6:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", + "typeString": "function (bytes memory) pure returns (string memory)" + } + }, + "id": 40102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "421:12:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "397:36:16" + }, + { + "assignments": [ + 40108 + ], + "declarations": [ + { + "constant": false, + "id": 40108, + "mutability": "mutable", + "name": "inputs", + "nameLocation": "460:6:16", + "nodeType": "VariableDeclaration", + "scope": 40148, + "src": "444:22:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40106, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "444:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40107, + "nodeType": "ArrayTypeName", + "src": "444:8:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "id": 40114, + "initialValue": { + "arguments": [ + { + "hexValue": "34", + "id": 40112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "482:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + } + ], + "id": 40111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "469:12:16", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 40109, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "473:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40110, + "nodeType": "ArrayTypeName", + "src": "473:8:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + } + }, + "id": 40113, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "469:15:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "444:40:16" + }, + { + "expression": { + "id": 40119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40115, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "494:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40117, + "indexExpression": { + "hexValue": "30", + "id": 40116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "501:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "494:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "7375617665", + "id": 40118, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "506:7:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8cc2c47756da6e47fbb3800d856641b3cb86e24947499e9370d70c85135df19a", + "typeString": "literal_string \"suave\"" + }, + "value": "suave" + }, + "src": "494:19:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40120, + "nodeType": "ExpressionStatement", + "src": "494:19:16" + }, + { + "expression": { + "id": 40125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40121, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "523:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40123, + "indexExpression": { + "hexValue": "31", + "id": 40122, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "530:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "523:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "666f726765", + "id": 40124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "535:7:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_b4f7998b245301fa1dfc784b03961989df486af3dd1e44f88da79ca40cf5125f", + "typeString": "literal_string \"forge\"" + }, + "value": "forge" + }, + "src": "523:19:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40126, + "nodeType": "ExpressionStatement", + "src": "523:19:16" + }, + { + "expression": { + "id": 40131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40127, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "552:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40129, + "indexExpression": { + "hexValue": "32", + "id": 40128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "559:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "552:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40130, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40091, + "src": "564:4:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "552:16:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40132, + "nodeType": "ExpressionStatement", + "src": "552:16:16" + }, + { + "expression": { + "id": 40137, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40133, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "578:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40135, + "indexExpression": { + "hexValue": "33", + "id": 40134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "585:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "578:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40136, + "name": "dataHex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40099, + "src": "590:7:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "578:19:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40138, + "nodeType": "ExpressionStatement", + "src": "578:19:16" + }, + { + "assignments": [ + 40140 + ], + "declarations": [ + { + "constant": false, + "id": 40140, + "mutability": "mutable", + "name": "res", + "nameLocation": "621:3:16", + "nodeType": "VariableDeclaration", + "scope": 40148, + "src": "608:16:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40139, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "608:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40145, + "initialValue": { + "arguments": [ + { + "id": 40143, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "634:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + ], + "expression": { + "id": 40141, + "name": "vm", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40089, + "src": "627:2:16", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + } + }, + "id": 40142, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "630:3:16", + "memberName": "ffi", + "nodeType": "MemberAccess", + "referencedDeclaration": 40082, + "src": "627:6:16", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory[] memory) view external returns (bytes memory)" + } + }, + "id": 40144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "627:14:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "608:33:16" + }, + { + "expression": { + "id": 40146, + "name": "res", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40140, + "src": "658:3:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40097, + "id": 40147, + "nodeType": "Return", + "src": "651:10:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "forgeIt", + "nameLocation": "303:7:16", + "parameters": { + "id": 40094, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40091, + "mutability": "mutable", + "name": "addr", + "nameLocation": "325:4:16", + "nodeType": "VariableDeclaration", + "scope": 40149, + "src": "311:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40090, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "311:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40093, + "mutability": "mutable", + "name": "data", + "nameLocation": "344:4:16", + "nodeType": "VariableDeclaration", + "scope": 40149, + "src": "331:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40092, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "331:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "310:39:16" + }, + "returnParameters": { + "id": 40097, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40096, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40149, + "src": "373:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40095, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "373:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "372:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40231, + "nodeType": "FunctionDefinition", + "src": "674:463:16", + "nodes": [], + "body": { + "id": 40230, + "nodeType": "Block", + "src": "747:390:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40157 + ], + "declarations": [ + { + "constant": false, + "id": 40157, + "mutability": "mutable", + "name": "converted", + "nameLocation": "770:9:16", + "nodeType": "VariableDeclaration", + "scope": 40230, + "src": "757:22:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40156, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "757:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40165, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40163, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 40160, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "792:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "799:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "792:13:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "32", + "id": 40162, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "808:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "792:17:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 40159, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "782:9:16", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 40158, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "786:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 40164, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "782:28:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "757:53:16" + }, + { + "assignments": [ + 40167 + ], + "declarations": [ + { + "constant": false, + "id": 40167, + "mutability": "mutable", + "name": "_base", + "nameLocation": "834:5:16", + "nodeType": "VariableDeclaration", + "scope": 40230, + "src": "821:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40166, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40169, + "initialValue": { + "hexValue": "30313233343536373839616263646566", + "id": 40168, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "842:18:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "nodeType": "VariableDeclarationStatement", + "src": "821:39:16" + }, + { + "body": { + "id": 40219, + "nodeType": "Block", + "src": "915:157:16", + "statements": [ + { + "expression": { + "id": 40197, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40181, + "name": "converted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40157, + "src": "929:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40185, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40184, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40182, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "939:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "32", + "id": 40183, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "943:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "939:5:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "929:16:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 40186, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "948:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40196, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40195, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "baseExpression": { + "id": 40189, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "960:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40191, + "indexExpression": { + "id": 40190, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "967:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "960:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + ], + "id": 40188, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "954:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 40187, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "954:5:16", + "typeDescriptions": {} + } + }, + "id": 40192, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "954:16:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "expression": { + "id": 40193, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "973:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "979:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "973:12:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "954:31:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "948:38:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "929:57:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 40198, + "nodeType": "ExpressionStatement", + "src": "929:57:16" + }, + { + "expression": { + "id": 40217, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40199, + "name": "converted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40157, + "src": "1000:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40205, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40204, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40200, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "1010:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "32", + "id": 40201, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1014:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1010:5:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 40203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1018:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1010:9:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1000:20:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 40206, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "1023:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40216, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40215, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "baseExpression": { + "id": 40209, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "1035:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40211, + "indexExpression": { + "id": 40210, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "1042:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1035:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + ], + "id": 40208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1029:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 40207, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "1029:5:16", + "typeDescriptions": {} + } + }, + "id": 40212, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1029:16:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "expression": { + "id": 40213, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "1048:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40214, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1054:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1048:12:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1029:31:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1023:38:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1000:61:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 40218, + "nodeType": "ExpressionStatement", + "src": "1000:61:16" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40177, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40174, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "891:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40175, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "895:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40176, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "902:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "895:13:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "891:17:16", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40220, + "initializationExpression": { + "assignments": [ + 40171 + ], + "declarations": [ + { + "constant": false, + "id": 40171, + "mutability": "mutable", + "name": "i", + "nameLocation": "884:1:16", + "nodeType": "VariableDeclaration", + "scope": 40220, + "src": "876:9:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40170, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "876:7:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40173, + "initialValue": { + "hexValue": "30", + "id": 40172, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "888:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "876:13:16" + }, + "loopExpression": { + "expression": { + "id": 40179, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "910:3:16", + "subExpression": { + "id": 40178, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "910:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40180, + "nodeType": "ExpressionStatement", + "src": "910:3:16" + }, + "nodeType": "ForStatement", + "src": "871:201:16" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "3078", + "id": 40225, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1113:4:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", + "typeString": "literal_string \"0x\"" + }, + "value": "0x" + }, + { + "id": 40226, + "name": "converted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40157, + "src": "1119:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", + "typeString": "literal_string \"0x\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40223, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1096:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40224, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1100:12:16", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1096:16:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40227, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1096:33:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40222, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1089:6:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 40221, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1089:6:16", + "typeDescriptions": {} + } + }, + "id": 40228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1089:41:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 40155, + "id": 40229, + "nodeType": "Return", + "src": "1082:48:16" + } + ] + }, + "functionSelector": "671ff786", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "iToHex", + "nameLocation": "683:6:16", + "parameters": { + "id": 40152, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40151, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "703:6:16", + "nodeType": "VariableDeclaration", + "scope": 40231, + "src": "690:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40150, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "690:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "689:21:16" + }, + "returnParameters": { + "id": 40155, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40154, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40231, + "src": "732:13:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40153, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "732:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "731:15:16" + }, + "scope": 40581, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 40269, + "nodeType": "FunctionDefinition", + "src": "1143:378:16", + "nodes": [], + "body": { + "id": 40268, + "nodeType": "Block", + "src": "1328:193:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40247 + ], + "declarations": [ + { + "constant": false, + "id": 40247, + "mutability": "mutable", + "name": "data", + "nameLocation": "1351:4:16", + "nodeType": "VariableDeclaration", + "scope": 40268, + "src": "1338:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40246, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1338:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40257, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303031", + "id": 40249, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1378:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", + "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" + }, + "value": "0x0000000000000000000000000000000042100001" + }, + { + "arguments": [ + { + "id": 40252, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40234, + "src": "1435:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 40253, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40237, + "src": "1446:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40254, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40239, + "src": "1453:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40250, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1424:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40251, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1428:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1424:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1424:39:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", + "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40248, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "1370:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40256, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1370:94:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1338:126:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40260, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40247, + "src": "1493:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40262, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1500:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40261, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1500:5:16", + "typeDescriptions": {} + } + }, + { + "id": 40264, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1507:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40263, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1507:5:16", + "typeDescriptions": {} + } + } + ], + "id": 40265, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1499:14:16", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" + } + ], + "expression": { + "id": 40258, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1482:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40259, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1486:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "1482:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40266, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1482:32:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "functionReturnParameters": 40245, + "id": 40267, + "nodeType": "Return", + "src": "1475:39:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildEthBlock", + "nameLocation": "1152:13:16", + "parameters": { + "id": 40240, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40234, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "1194:9:16", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1166:37:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 40233, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40232, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "1166:5:16", + "1172:14:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "1166:20:16" + }, + "referencedDeclaration": 39347, + "src": "1166:20:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40237, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "1217:5:16", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1205:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40236, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40235, + "name": "Suave.BidId", + "nameLocations": [ + "1205:5:16", + "1211:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "1205:11:16" + }, + "referencedDeclaration": 39311, + "src": "1205:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40239, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "1238:9:16", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1224:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40238, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1224:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1165:83:16" + }, + "returnParameters": { + "id": 40245, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40242, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1296:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40241, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1296:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40244, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1310:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40243, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1310:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1295:28:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40286, + "nodeType": "FunctionDefinition", + "src": "1527:193:16", + "nodes": [], + "body": { + "id": 40285, + "nodeType": "Block", + "src": "1594:126:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40275 + ], + "declarations": [ + { + "constant": false, + "id": 40275, + "mutability": "mutable", + "name": "data", + "nameLocation": "1617:4:16", + "nodeType": "VariableDeclaration", + "scope": 40285, + "src": "1604:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40274, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1604:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40282, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303031", + "id": 40277, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1632:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", + "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" + }, + "value": "0x0000000000000000000000000000000042010001" + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40278, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1678:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40279, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1682:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1678:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1678:12:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", + "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40276, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "1624:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40281, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1624:67:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1604:87:16" + }, + { + "expression": { + "id": 40283, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40275, + "src": "1709:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40273, + "id": 40284, + "nodeType": "Return", + "src": "1702:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialInputs", + "nameLocation": "1536:18:16", + "parameters": { + "id": 40270, + "nodeType": "ParameterList", + "parameters": [], + "src": "1554:2:16" + }, + "returnParameters": { + "id": 40273, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40272, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40286, + "src": "1580:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40271, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1580:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1579:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40310, + "nodeType": "FunctionDefinition", + "src": "1726:246:16", + "nodes": [], + "body": { + "id": 40309, + "nodeType": "Block", + "src": "1836:136:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40297 + ], + "declarations": [ + { + "constant": false, + "id": 40297, + "mutability": "mutable", + "name": "data", + "nameLocation": "1859:4:16", + "nodeType": "VariableDeclaration", + "scope": 40309, + "src": "1846:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40296, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1846:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40306, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303031", + "id": 40299, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1874:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", + "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" + }, + "value": "0x0000000000000000000000000000000042020001" + }, + { + "arguments": [ + { + "id": 40302, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40289, + "src": "1931:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40303, + "name": "key", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40291, + "src": "1938:3:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40300, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1920:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40301, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1924:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1920:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1920:22:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", + "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40298, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "1866:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1866:77:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1846:97:16" + }, + { + "expression": { + "id": 40307, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40297, + "src": "1961:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40295, + "id": 40308, + "nodeType": "Return", + "src": "1954:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreRetrieve", + "nameLocation": "1735:25:16", + "parameters": { + "id": 40292, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40289, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "1773:5:16", + "nodeType": "VariableDeclaration", + "scope": 40310, + "src": "1761:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40288, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40287, + "name": "Suave.BidId", + "nameLocations": [ + "1761:5:16", + "1767:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "1761:11:16" + }, + "referencedDeclaration": 39311, + "src": "1761:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40291, + "mutability": "mutable", + "name": "key", + "nameLocation": "1794:3:16", + "nodeType": "VariableDeclaration", + "scope": 40310, + "src": "1780:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40290, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1780:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1760:38:16" + }, + "returnParameters": { + "id": 40295, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40294, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40310, + "src": "1822:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40293, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1822:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1821:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40333, + "nodeType": "FunctionDefinition", + "src": "1978:225:16", + "nodes": [], + "body": { + "id": 40332, + "nodeType": "Block", + "src": "2082:121:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40321 + ], + "declarations": [ + { + "constant": false, + "id": 40321, + "mutability": "mutable", + "name": "data", + "nameLocation": "2105:4:16", + "nodeType": "VariableDeclaration", + "scope": 40332, + "src": "2092:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40320, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2092:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40331, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303030", + "id": 40323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2120:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", + "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" + }, + "value": "0x0000000000000000000000000000000042020000" + }, + { + "arguments": [ + { + "id": 40326, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40313, + "src": "2177:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40327, + "name": "key", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40315, + "src": "2184:3:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40328, + "name": "data1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40317, + "src": "2189:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40324, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2166:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2170:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2166:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2166:29:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", + "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40322, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2112:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40330, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2112:84:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2092:104:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreStore", + "nameLocation": "1987:22:16", + "parameters": { + "id": 40318, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40313, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2022:5:16", + "nodeType": "VariableDeclaration", + "scope": 40333, + "src": "2010:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40312, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40311, + "name": "Suave.BidId", + "nameLocations": [ + "2010:5:16", + "2016:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2010:11:16" + }, + "referencedDeclaration": 39311, + "src": "2010:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40315, + "mutability": "mutable", + "name": "key", + "nameLocation": "2043:3:16", + "nodeType": "VariableDeclaration", + "scope": 40333, + "src": "2029:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40314, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2029:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40317, + "mutability": "mutable", + "name": "data1", + "nameLocation": "2061:5:16", + "nodeType": "VariableDeclaration", + "scope": 40333, + "src": "2048:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40316, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2048:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2009:58:16" + }, + "returnParameters": { + "id": 40319, + "nodeType": "ParameterList", + "parameters": [], + "src": "2082:0:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40362, + "nodeType": "FunctionDefinition", + "src": "2209:264:16", + "nodes": [], + "body": { + "id": 40361, + "nodeType": "Block", + "src": "2306:167:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40343 + ], + "declarations": [ + { + "constant": false, + "id": 40343, + "mutability": "mutable", + "name": "data", + "nameLocation": "2329:4:16", + "nodeType": "VariableDeclaration", + "scope": 40361, + "src": "2316:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40342, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2316:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40352, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303033", + "id": 40345, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2344:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", + "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" + }, + "value": "0x0000000000000000000000000000000042100003" + }, + { + "arguments": [ + { + "id": 40348, + "name": "contractAddr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40335, + "src": "2401:12:16", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 40349, + "name": "input1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40337, + "src": "2415:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40346, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2390:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2394:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2390:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40350, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2390:32:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", + "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40344, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2336:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40351, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2336:87:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2316:107:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40355, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40343, + "src": "2452:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2459:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40356, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2459:5:16", + "typeDescriptions": {} + } + } + ], + "id": 40358, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2458:7:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40353, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2441:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2445:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "2441:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40359, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2441:25:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40341, + "id": 40360, + "nodeType": "Return", + "src": "2434:32:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "ethcall", + "nameLocation": "2218:7:16", + "parameters": { + "id": 40338, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40335, + "mutability": "mutable", + "name": "contractAddr", + "nameLocation": "2234:12:16", + "nodeType": "VariableDeclaration", + "scope": 40362, + "src": "2226:20:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 40334, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2226:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40337, + "mutability": "mutable", + "name": "input1", + "nameLocation": "2261:6:16", + "nodeType": "VariableDeclaration", + "scope": 40362, + "src": "2248:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40336, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2248:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2225:43:16" + }, + "returnParameters": { + "id": 40341, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40340, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40362, + "src": "2292:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40339, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2292:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2291:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40382, + "nodeType": "FunctionDefinition", + "src": "2479:219:16", + "nodes": [], + "body": { + "id": 40381, + "nodeType": "Block", + "src": "2562:136:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40370 + ], + "declarations": [ + { + "constant": false, + "id": 40370, + "mutability": "mutable", + "name": "data", + "nameLocation": "2585:4:16", + "nodeType": "VariableDeclaration", + "scope": 40381, + "src": "2572:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40369, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2572:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40378, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303337", + "id": 40372, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2600:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", + "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" + }, + "value": "0x0000000000000000000000000000000042100037" + }, + { + "arguments": [ + { + "id": 40375, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40364, + "src": "2657:10:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40373, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2646:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40374, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2650:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2646:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40376, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2646:22:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", + "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40371, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2592:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40377, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2592:77:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2572:97:16" + }, + { + "expression": { + "id": 40379, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40370, + "src": "2687:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40368, + "id": 40380, + "nodeType": "Return", + "src": "2680:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "extractHint", + "nameLocation": "2488:11:16", + "parameters": { + "id": 40365, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40364, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2513:10:16", + "nodeType": "VariableDeclaration", + "scope": 40382, + "src": "2500:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40363, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2500:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2499:25:16" + }, + "returnParameters": { + "id": 40368, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40367, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40382, + "src": "2548:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40366, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2548:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2547:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40414, + "nodeType": "FunctionDefinition", + "src": "2704:268:16", + "nodes": [], + "body": { + "id": 40413, + "nodeType": "Block", + "src": "2804:168:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40394 + ], + "declarations": [ + { + "constant": false, + "id": 40394, + "mutability": "mutable", + "name": "data", + "nameLocation": "2827:4:16", + "nodeType": "VariableDeclaration", + "scope": 40413, + "src": "2814:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40393, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2814:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40403, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303031", + "id": 40396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2842:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", + "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" + }, + "value": "0x0000000000000000000000000000000042030001" + }, + { + "arguments": [ + { + "id": 40399, + "name": "cond", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40384, + "src": "2899:4:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40400, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40386, + "src": "2905:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40397, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2888:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40398, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2892:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2888:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2888:27:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", + "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40395, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2834:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40402, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:82:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2814:102:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40406, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40394, + "src": "2945:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 40407, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2952:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40408, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2958:3:16", + "memberName": "Bid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39328, + "src": "2952:9:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + }, + "id": 40409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2952:11:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + } + ], + "id": 40410, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2951:13:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + ], + "expression": { + "id": 40404, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2934:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2938:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "2934:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2934:31:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "functionReturnParameters": 40392, + "id": 40412, + "nodeType": "Return", + "src": "2927:38:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBids", + "nameLocation": "2713:9:16", + "parameters": { + "id": 40387, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40384, + "mutability": "mutable", + "name": "cond", + "nameLocation": "2730:4:16", + "nodeType": "VariableDeclaration", + "scope": 40414, + "src": "2723:11:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40383, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2723:6:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40386, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "2750:9:16", + "nodeType": "VariableDeclaration", + "scope": 40414, + "src": "2736:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40385, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2736:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2722:38:16" + }, + "returnParameters": { + "id": 40392, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40391, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40414, + "src": "2784:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 40389, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40388, + "name": "Suave.Bid", + "nameLocations": [ + "2784:5:16", + "2790:3:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2784:9:16" + }, + "referencedDeclaration": 39328, + "src": "2784:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 40390, + "nodeType": "ArrayTypeName", + "src": "2784:11:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "src": "2783:20:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40435, + "nodeType": "FunctionDefinition", + "src": "2978:215:16", + "nodes": [], + "body": { + "id": 40434, + "nodeType": "Block", + "src": "3062:131:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40423 + ], + "declarations": [ + { + "constant": false, + "id": 40423, + "mutability": "mutable", + "name": "data", + "nameLocation": "3085:4:16", + "nodeType": "VariableDeclaration", + "scope": 40434, + "src": "3072:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40422, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3072:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40431, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433323030303031", + "id": 40425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3100:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", + "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" + }, + "value": "0x0000000000000000000000000000000043200001" + }, + { + "arguments": [ + { + "id": 40428, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40417, + "src": "3157:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 40426, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3146:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40427, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3150:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3146:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40429, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3146:17:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", + "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40424, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "3092:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3092:72:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3072:92:16" + }, + { + "expression": { + "id": 40432, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40423, + "src": "3182:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40421, + "id": 40433, + "nodeType": "Return", + "src": "3175:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fillMevShareBundle", + "nameLocation": "2987:18:16", + "parameters": { + "id": 40418, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40417, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "3018:5:16", + "nodeType": "VariableDeclaration", + "scope": 40435, + "src": "3006:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40416, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40415, + "name": "Suave.BidId", + "nameLocations": [ + "3006:5:16", + "3012:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3006:11:16" + }, + "referencedDeclaration": 39311, + "src": "3006:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3005:19:16" + }, + "returnParameters": { + "id": 40421, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40420, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40435, + "src": "3048:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40419, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3048:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3047:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40473, + "nodeType": "FunctionDefinition", + "src": "3199:455:16", + "nodes": [], + "body": { + "id": 40472, + "nodeType": "Block", + "src": "3410:244:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40452 + ], + "declarations": [ + { + "constant": false, + "id": 40452, + "mutability": "mutable", + "name": "data", + "nameLocation": "3433:4:16", + "nodeType": "VariableDeclaration", + "scope": 40472, + "src": "3420:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40451, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3420:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40463, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303030", + "id": 40454, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3461:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", + "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" + }, + "value": "0x0000000000000000000000000000000042030000" + }, + { + "arguments": [ + { + "id": 40457, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40437, + "src": "3530:19:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40458, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40440, + "src": "3551:14:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40459, + "name": "allowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40443, + "src": "3567:13:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40460, + "name": "bidType", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40445, + "src": "3582:7:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40455, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3519:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40456, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3523:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3519:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3519:71:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", + "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40453, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "3440:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40462, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3440:160:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3420:180:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40466, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40452, + "src": "3629:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "expression": { + "id": 40467, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3636:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40468, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3642:3:16", + "memberName": "Bid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39328, + "src": "3636:9:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + } + ], + "id": 40469, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3635:11:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + ], + "expression": { + "id": 40464, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3618:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40465, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3622:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "3618:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40470, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3618:29:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "functionReturnParameters": 40450, + "id": 40471, + "nodeType": "Return", + "src": "3611:36:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "3208:6:16", + "parameters": { + "id": 40446, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40437, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3231:19:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3224:26:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40436, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3224:6:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40440, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "3277:14:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3260:31:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40438, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3260:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40439, + "nodeType": "ArrayTypeName", + "src": "3260:9:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40443, + "mutability": "mutable", + "name": "allowedStores", + "nameLocation": "3318:13:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3301:30:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40441, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3301:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40442, + "nodeType": "ArrayTypeName", + "src": "3301:9:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40445, + "mutability": "mutable", + "name": "bidType", + "nameLocation": "3355:7:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3341:21:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40444, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3341:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3214:154:16" + }, + "returnParameters": { + "id": 40450, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40449, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3392:16:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40448, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40447, + "name": "Suave.Bid", + "nameLocations": [ + "3392:5:16", + "3398:3:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3392:9:16" + }, + "referencedDeclaration": 39328, + "src": "3392:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "3391:18:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40505, + "nodeType": "FunctionDefinition", + "src": "3660:331:16", + "nodes": [], + "body": { + "id": 40504, + "nodeType": "Block", + "src": "3820:171:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40485 + ], + "declarations": [ + { + "constant": false, + "id": 40485, + "mutability": "mutable", + "name": "data", + "nameLocation": "3843:4:16", + "nodeType": "VariableDeclaration", + "scope": 40504, + "src": "3830:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40484, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3830:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40495, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303430313030303031", + "id": 40487, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3858:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", + "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" + }, + "value": "0x0000000000000000000000000000000040100001" + }, + { + "arguments": [ + { + "id": 40490, + "name": "txn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40475, + "src": "3915:3:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "id": 40491, + "name": "chainId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40477, + "src": "3920:7:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40492, + "name": "signingKey", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40479, + "src": "3929:10:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40488, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3904:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40489, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3908:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3904:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40493, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3904:36:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", + "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40486, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "3850:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40494, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3850:91:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3830:111:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40498, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40485, + "src": "3970:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3977:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40499, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3977:5:16", + "typeDescriptions": {} + } + } + ], + "id": 40501, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3976:7:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40496, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3959:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3963:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "3959:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40502, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3959:25:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40483, + "id": 40503, + "nodeType": "Return", + "src": "3952:32:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "signEthTransaction", + "nameLocation": "3669:18:16", + "parameters": { + "id": 40480, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40475, + "mutability": "mutable", + "name": "txn", + "nameLocation": "3701:3:16", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3688:16:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40474, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3688:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40477, + "mutability": "mutable", + "name": "chainId", + "nameLocation": "3720:7:16", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3706:21:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40476, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3706:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40479, + "mutability": "mutable", + "name": "signingKey", + "nameLocation": "3743:10:16", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3729:24:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40478, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3729:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3687:67:16" + }, + "returnParameters": { + "id": 40483, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40482, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3802:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40481, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3802:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3801:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40531, + "nodeType": "FunctionDefinition", + "src": "3997:238:16", + "nodes": [], + "body": { + "id": 40530, + "nodeType": "Block", + "src": "4077:158:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40513 + ], + "declarations": [ + { + "constant": false, + "id": 40513, + "mutability": "mutable", + "name": "data", + "nameLocation": "4100:4:16", + "nodeType": "VariableDeclaration", + "scope": 40530, + "src": "4087:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40512, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4087:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40521, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303030", + "id": 40515, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4115:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", + "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" + }, + "value": "0x0000000000000000000000000000000042100000" + }, + { + "arguments": [ + { + "id": 40518, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40507, + "src": "4172:10:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40516, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4161:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40517, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4165:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4161:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4161:22:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", + "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40514, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "4107:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4107:77:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4087:97:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40524, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40513, + "src": "4213:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40526, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4220:6:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 40525, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "4220:6:16", + "typeDescriptions": {} + } + } + ], + "id": 40527, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "4219:8:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 40522, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4202:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40523, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4206:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "4202:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40528, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4202:26:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "functionReturnParameters": 40511, + "id": 40529, + "nodeType": "Return", + "src": "4195:33:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "simulateBundle", + "nameLocation": "4006:14:16", + "parameters": { + "id": 40508, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40507, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "4034:10:16", + "nodeType": "VariableDeclaration", + "scope": 40531, + "src": "4021:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40506, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4021:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4020:25:16" + }, + "returnParameters": { + "id": 40511, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40510, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40531, + "src": "4069:6:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40509, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "4069:6:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "4068:8:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40557, + "nodeType": "FunctionDefinition", + "src": "4241:301:16", + "nodes": [], + "body": { + "id": 40556, + "nodeType": "Block", + "src": "4397:145:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40543 + ], + "declarations": [ + { + "constant": false, + "id": 40543, + "mutability": "mutable", + "name": "data", + "nameLocation": "4420:4:16", + "nodeType": "VariableDeclaration", + "scope": 40556, + "src": "4407:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40542, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4407:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40553, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433303030303031", + "id": 40545, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4435:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", + "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" + }, + "value": "0x0000000000000000000000000000000043000001" + }, + { + "arguments": [ + { + "id": 40548, + "name": "url", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40533, + "src": "4492:3:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40549, + "name": "method", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40535, + "src": "4497:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40550, + "name": "params", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40537, + "src": "4505:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40546, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4481:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40547, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4485:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4481:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4481:31:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", + "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40544, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "4427:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40552, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4427:86:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4407:106:16" + }, + { + "expression": { + "id": 40554, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40543, + "src": "4531:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40541, + "id": 40555, + "nodeType": "Return", + "src": "4524:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitBundleJsonRPC", + "nameLocation": "4250:19:16", + "parameters": { + "id": 40538, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40533, + "mutability": "mutable", + "name": "url", + "nameLocation": "4284:3:16", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4270:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40532, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4270:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40535, + "mutability": "mutable", + "name": "method", + "nameLocation": "4303:6:16", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4289:20:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40534, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4289:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40537, + "mutability": "mutable", + "name": "params", + "nameLocation": "4324:6:16", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4311:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40536, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4311:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4269:62:16" + }, + "returnParameters": { + "id": 40541, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40540, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4379:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40539, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4379:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4378:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40580, + "nodeType": "FunctionDefinition", + "src": "4548:294:16", + "nodes": [], + "body": { + "id": 40579, + "nodeType": "Block", + "src": "4696:146:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40567 + ], + "declarations": [ + { + "constant": false, + "id": 40567, + "mutability": "mutable", + "name": "data", + "nameLocation": "4719:4:16", + "nodeType": "VariableDeclaration", + "scope": 40579, + "src": "4706:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40566, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4706:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40576, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303032", + "id": 40569, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4734:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", + "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" + }, + "value": "0x0000000000000000000000000000000042100002" + }, + { + "arguments": [ + { + "id": 40572, + "name": "relayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40559, + "src": "4791:8:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40573, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40561, + "src": "4801:10:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40570, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4780:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40571, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4784:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4780:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40574, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4780:32:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", + "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40568, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "4726:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4726:87:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4706:107:16" + }, + { + "expression": { + "id": 40577, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40567, + "src": "4831:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40565, + "id": 40578, + "nodeType": "Return", + "src": "4824:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitEthBlockBidToRelay", + "nameLocation": "4557:24:16", + "parameters": { + "id": 40562, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40559, + "mutability": "mutable", + "name": "relayUrl", + "nameLocation": "4596:8:16", + "nodeType": "VariableDeclaration", + "scope": 40580, + "src": "4582:22:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40558, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4582:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40561, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "4619:10:16", + "nodeType": "VariableDeclaration", + "scope": 40580, + "src": "4606:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40560, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4606:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4581:49:16" + }, + "returnParameters": { + "id": 40565, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40564, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40580, + "src": "4678:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40563, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4678:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4677:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "SuaveForge", + "contractDependencies": [], + "contractKind": "library", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40581 + ], + "name": "SuaveForge", + "nameLocation": "207:10:16", + "scope": 40582, + "usedErrors": [] + } + ], + "license": "UNLICENSED" + }, + "id": 16 +} \ No newline at end of file diff --git a/suave/artifacts/SuaveForge.sol/Vm.json b/suave/artifacts/SuaveForge.sol/Vm.json index 5f3b2d5511..aa9358f706 100644 --- a/suave/artifacts/SuaveForge.sol/Vm.json +++ b/suave/artifacts/SuaveForge.sol/Vm.json @@ -20,10 +20,6959 @@ "type": "function" } ], + "bytecode": { + "object": "0x", + "sourceMap": "", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x" + "object": "0x", + "sourceMap": "", + "linkReferences": {} }, - "bytecode": { - "object": "0x" - } -} + "methodIdentifiers": { + "ffi(string[])": "89160467" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"commandInput\",\"type\":\"string[]\"}],\"name\":\"ffi\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/SuaveForge.sol\":\"Vm\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveForge.sol\":{\"keccak256\":\"0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067\",\"dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string[]", + "name": "commandInput", + "type": "string[]" + } + ], + "stateMutability": "view", + "type": "function", + "name": "ffi", + "outputs": [ + { + "internalType": "bytes", + "name": "result", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/libraries/SuaveForge.sol": "Vm" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/libraries/SuaveForge.sol": { + "keccak256": "0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34", + "urls": [ + "bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067", + "dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd" + ], + "license": "UNLICENSED" + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/libraries/SuaveForge.sol", + "id": 40582, + "exportedSymbols": { + "Suave": [ + 39934 + ], + "SuaveForge": [ + 40581 + ], + "Vm": [ + 40083 + ] + }, + "nodeType": "SourceUnit", + "src": "39:4806:16", + "nodes": [ + { + "id": 40073, + "nodeType": "PragmaDirective", + "src": "39:23:16", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40074, + "nodeType": "ImportDirective", + "src": "64:21:16", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "./Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 40582, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40083, + "nodeType": "ContractDefinition", + "src": "87:110:16", + "nodes": [ + { + "id": 40082, + "nodeType": "FunctionDefinition", + "src": "106:89:16", + "nodes": [], + "functionSelector": "89160467", + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "ffi", + "nameLocation": "115:3:16", + "parameters": { + "id": 40078, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40077, + "mutability": "mutable", + "name": "commandInput", + "nameLocation": "137:12:16", + "nodeType": "VariableDeclaration", + "scope": 40082, + "src": "119:30:16", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40075, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "119:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40076, + "nodeType": "ArrayTypeName", + "src": "119:8:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "118:32:16" + }, + "returnParameters": { + "id": 40081, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40080, + "mutability": "mutable", + "name": "result", + "nameLocation": "187:6:16", + "nodeType": "VariableDeclaration", + "scope": 40082, + "src": "174:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40079, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "174:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "173:21:16" + }, + "scope": 40083, + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "Vm", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "linearizedBaseContracts": [ + 40083 + ], + "name": "Vm", + "nameLocation": "97:2:16", + "scope": 40582, + "usedErrors": [] + }, + { + "id": 40581, + "nodeType": "ContractDefinition", + "src": "199:4645:16", + "nodes": [ + { + "id": 40089, + "nodeType": "VariableDeclaration", + "src": "224:63:16", + "nodes": [], + "constant": true, + "mutability": "constant", + "name": "vm", + "nameLocation": "236:2:16", + "scope": 40581, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + }, + "typeName": { + "id": 40085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40084, + "name": "Vm", + "nameLocations": [ + "224:2:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40083, + "src": "224:2:16" + }, + "referencedDeclaration": 40083, + "src": "224:2:16", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + } + }, + "value": { + "arguments": [ + { + "hexValue": "307837313039373039454366613931613830363236664633393839443638663637463562314444313244", + "id": 40087, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "244:42:16", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x7109709ECfa91a80626fF3989D68f67F5b1DD12D" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 40086, + "name": "Vm", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40083, + "src": "241:2:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Vm_$40083_$", + "typeString": "type(contract Vm)" + } + }, + "id": 40088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "241:46:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + } + }, + "visibility": "internal" + }, + { + "id": 40149, + "nodeType": "FunctionDefinition", + "src": "294:374:16", + "nodes": [], + "body": { + "id": 40148, + "nodeType": "Block", + "src": "387:281:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40099 + ], + "declarations": [ + { + "constant": false, + "id": 40099, + "mutability": "mutable", + "name": "dataHex", + "nameLocation": "411:7:16", + "nodeType": "VariableDeclaration", + "scope": 40148, + "src": "397:21:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40098, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "397:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 40103, + "initialValue": { + "arguments": [ + { + "id": 40101, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40093, + "src": "428:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40100, + "name": "iToHex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40231, + "src": "421:6:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", + "typeString": "function (bytes memory) pure returns (string memory)" + } + }, + "id": 40102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "421:12:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "397:36:16" + }, + { + "assignments": [ + 40108 + ], + "declarations": [ + { + "constant": false, + "id": 40108, + "mutability": "mutable", + "name": "inputs", + "nameLocation": "460:6:16", + "nodeType": "VariableDeclaration", + "scope": 40148, + "src": "444:22:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40106, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "444:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40107, + "nodeType": "ArrayTypeName", + "src": "444:8:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "id": 40114, + "initialValue": { + "arguments": [ + { + "hexValue": "34", + "id": 40112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "482:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + } + ], + "id": 40111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "469:12:16", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (string memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 40109, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "473:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40110, + "nodeType": "ArrayTypeName", + "src": "473:8:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + } + }, + "id": 40113, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "469:15:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "444:40:16" + }, + { + "expression": { + "id": 40119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40115, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "494:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40117, + "indexExpression": { + "hexValue": "30", + "id": 40116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "501:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "494:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "7375617665", + "id": 40118, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "506:7:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8cc2c47756da6e47fbb3800d856641b3cb86e24947499e9370d70c85135df19a", + "typeString": "literal_string \"suave\"" + }, + "value": "suave" + }, + "src": "494:19:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40120, + "nodeType": "ExpressionStatement", + "src": "494:19:16" + }, + { + "expression": { + "id": 40125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40121, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "523:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40123, + "indexExpression": { + "hexValue": "31", + "id": 40122, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "530:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "523:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "666f726765", + "id": 40124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "535:7:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_b4f7998b245301fa1dfc784b03961989df486af3dd1e44f88da79ca40cf5125f", + "typeString": "literal_string \"forge\"" + }, + "value": "forge" + }, + "src": "523:19:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40126, + "nodeType": "ExpressionStatement", + "src": "523:19:16" + }, + { + "expression": { + "id": 40131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40127, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "552:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40129, + "indexExpression": { + "hexValue": "32", + "id": 40128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "559:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "552:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40130, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40091, + "src": "564:4:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "552:16:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40132, + "nodeType": "ExpressionStatement", + "src": "552:16:16" + }, + { + "expression": { + "id": 40137, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40133, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "578:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "id": 40135, + "indexExpression": { + "hexValue": "33", + "id": 40134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "585:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "578:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40136, + "name": "dataHex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40099, + "src": "590:7:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "578:19:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "id": 40138, + "nodeType": "ExpressionStatement", + "src": "578:19:16" + }, + { + "assignments": [ + 40140 + ], + "declarations": [ + { + "constant": false, + "id": 40140, + "mutability": "mutable", + "name": "res", + "nameLocation": "621:3:16", + "nodeType": "VariableDeclaration", + "scope": 40148, + "src": "608:16:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40139, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "608:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40145, + "initialValue": { + "arguments": [ + { + "id": 40143, + "name": "inputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40108, + "src": "634:6:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + ], + "expression": { + "id": 40141, + "name": "vm", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40089, + "src": "627:2:16", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Vm_$40083", + "typeString": "contract Vm" + } + }, + "id": 40142, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "630:3:16", + "memberName": "ffi", + "nodeType": "MemberAccess", + "referencedDeclaration": 40082, + "src": "627:6:16", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory[] memory) view external returns (bytes memory)" + } + }, + "id": 40144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "627:14:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "608:33:16" + }, + { + "expression": { + "id": 40146, + "name": "res", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40140, + "src": "658:3:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40097, + "id": 40147, + "nodeType": "Return", + "src": "651:10:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "forgeIt", + "nameLocation": "303:7:16", + "parameters": { + "id": 40094, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40091, + "mutability": "mutable", + "name": "addr", + "nameLocation": "325:4:16", + "nodeType": "VariableDeclaration", + "scope": 40149, + "src": "311:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40090, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "311:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40093, + "mutability": "mutable", + "name": "data", + "nameLocation": "344:4:16", + "nodeType": "VariableDeclaration", + "scope": 40149, + "src": "331:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40092, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "331:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "310:39:16" + }, + "returnParameters": { + "id": 40097, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40096, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40149, + "src": "373:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40095, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "373:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "372:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40231, + "nodeType": "FunctionDefinition", + "src": "674:463:16", + "nodes": [], + "body": { + "id": 40230, + "nodeType": "Block", + "src": "747:390:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40157 + ], + "declarations": [ + { + "constant": false, + "id": 40157, + "mutability": "mutable", + "name": "converted", + "nameLocation": "770:9:16", + "nodeType": "VariableDeclaration", + "scope": 40230, + "src": "757:22:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40156, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "757:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40165, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40163, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 40160, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "792:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "799:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "792:13:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "32", + "id": 40162, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "808:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "792:17:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 40159, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "782:9:16", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 40158, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "786:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 40164, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "782:28:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "757:53:16" + }, + { + "assignments": [ + 40167 + ], + "declarations": [ + { + "constant": false, + "id": 40167, + "mutability": "mutable", + "name": "_base", + "nameLocation": "834:5:16", + "nodeType": "VariableDeclaration", + "scope": 40230, + "src": "821:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40166, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40169, + "initialValue": { + "hexValue": "30313233343536373839616263646566", + "id": 40168, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "842:18:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "nodeType": "VariableDeclarationStatement", + "src": "821:39:16" + }, + { + "body": { + "id": 40219, + "nodeType": "Block", + "src": "915:157:16", + "statements": [ + { + "expression": { + "id": 40197, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40181, + "name": "converted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40157, + "src": "929:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40185, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40184, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40182, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "939:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "32", + "id": 40183, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "943:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "939:5:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "929:16:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 40186, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "948:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40196, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40195, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "baseExpression": { + "id": 40189, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "960:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40191, + "indexExpression": { + "id": 40190, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "967:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "960:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + ], + "id": 40188, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "954:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 40187, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "954:5:16", + "typeDescriptions": {} + } + }, + "id": 40192, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "954:16:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "expression": { + "id": 40193, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "973:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "979:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "973:12:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "954:31:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "948:38:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "929:57:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 40198, + "nodeType": "ExpressionStatement", + "src": "929:57:16" + }, + { + "expression": { + "id": 40217, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 40199, + "name": "converted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40157, + "src": "1000:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40205, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40204, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40200, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "1010:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "32", + "id": 40201, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1014:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1010:5:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 40203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1018:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1010:9:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1000:20:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 40206, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "1023:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40216, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40215, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "baseExpression": { + "id": 40209, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "1035:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40211, + "indexExpression": { + "id": 40210, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "1042:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1035:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + ], + "id": 40208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1029:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 40207, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "1029:5:16", + "typeDescriptions": {} + } + }, + "id": 40212, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1029:16:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "expression": { + "id": 40213, + "name": "_base", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40167, + "src": "1048:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40214, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1054:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1048:12:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1029:31:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1023:38:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1000:61:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 40218, + "nodeType": "ExpressionStatement", + "src": "1000:61:16" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40177, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40174, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "891:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40175, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40151, + "src": "895:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40176, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "902:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "895:13:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "891:17:16", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40220, + "initializationExpression": { + "assignments": [ + 40171 + ], + "declarations": [ + { + "constant": false, + "id": 40171, + "mutability": "mutable", + "name": "i", + "nameLocation": "884:1:16", + "nodeType": "VariableDeclaration", + "scope": 40220, + "src": "876:9:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40170, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "876:7:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40173, + "initialValue": { + "hexValue": "30", + "id": 40172, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "888:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "876:13:16" + }, + "loopExpression": { + "expression": { + "id": 40179, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "910:3:16", + "subExpression": { + "id": 40178, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40171, + "src": "910:1:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40180, + "nodeType": "ExpressionStatement", + "src": "910:3:16" + }, + "nodeType": "ForStatement", + "src": "871:201:16" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "3078", + "id": 40225, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1113:4:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", + "typeString": "literal_string \"0x\"" + }, + "value": "0x" + }, + { + "id": 40226, + "name": "converted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40157, + "src": "1119:9:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", + "typeString": "literal_string \"0x\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40223, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1096:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40224, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1100:12:16", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1096:16:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40227, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1096:33:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40222, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1089:6:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 40221, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1089:6:16", + "typeDescriptions": {} + } + }, + "id": 40228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1089:41:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 40155, + "id": 40229, + "nodeType": "Return", + "src": "1082:48:16" + } + ] + }, + "functionSelector": "671ff786", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "iToHex", + "nameLocation": "683:6:16", + "parameters": { + "id": 40152, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40151, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "703:6:16", + "nodeType": "VariableDeclaration", + "scope": 40231, + "src": "690:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40150, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "690:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "689:21:16" + }, + "returnParameters": { + "id": 40155, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40154, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40231, + "src": "732:13:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40153, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "732:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "731:15:16" + }, + "scope": 40581, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 40269, + "nodeType": "FunctionDefinition", + "src": "1143:378:16", + "nodes": [], + "body": { + "id": 40268, + "nodeType": "Block", + "src": "1328:193:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40247 + ], + "declarations": [ + { + "constant": false, + "id": 40247, + "mutability": "mutable", + "name": "data", + "nameLocation": "1351:4:16", + "nodeType": "VariableDeclaration", + "scope": 40268, + "src": "1338:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40246, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1338:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40257, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303031", + "id": 40249, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1378:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", + "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" + }, + "value": "0x0000000000000000000000000000000042100001" + }, + { + "arguments": [ + { + "id": 40252, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40234, + "src": "1435:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 40253, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40237, + "src": "1446:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40254, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40239, + "src": "1453:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40250, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1424:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40251, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1428:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1424:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1424:39:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", + "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40248, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "1370:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40256, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1370:94:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1338:126:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40260, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40247, + "src": "1493:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40262, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1500:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40261, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1500:5:16", + "typeDescriptions": {} + } + }, + { + "id": 40264, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1507:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40263, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1507:5:16", + "typeDescriptions": {} + } + } + ], + "id": 40265, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1499:14:16", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", + "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" + } + ], + "expression": { + "id": 40258, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1482:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40259, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1486:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "1482:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40266, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1482:32:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "functionReturnParameters": 40245, + "id": 40267, + "nodeType": "Return", + "src": "1475:39:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildEthBlock", + "nameLocation": "1152:13:16", + "parameters": { + "id": 40240, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40234, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "1194:9:16", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1166:37:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 40233, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40232, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "1166:5:16", + "1172:14:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "1166:20:16" + }, + "referencedDeclaration": 39347, + "src": "1166:20:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40237, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "1217:5:16", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1205:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40236, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40235, + "name": "Suave.BidId", + "nameLocations": [ + "1205:5:16", + "1211:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "1205:11:16" + }, + "referencedDeclaration": 39311, + "src": "1205:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40239, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "1238:9:16", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1224:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40238, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1224:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1165:83:16" + }, + "returnParameters": { + "id": 40245, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40242, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1296:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40241, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1296:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40244, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40269, + "src": "1310:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40243, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1310:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1295:28:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40286, + "nodeType": "FunctionDefinition", + "src": "1527:193:16", + "nodes": [], + "body": { + "id": 40285, + "nodeType": "Block", + "src": "1594:126:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40275 + ], + "declarations": [ + { + "constant": false, + "id": 40275, + "mutability": "mutable", + "name": "data", + "nameLocation": "1617:4:16", + "nodeType": "VariableDeclaration", + "scope": 40285, + "src": "1604:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40274, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1604:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40282, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303031", + "id": 40277, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1632:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", + "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" + }, + "value": "0x0000000000000000000000000000000042010001" + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40278, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1678:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40279, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1682:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1678:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1678:12:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", + "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40276, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "1624:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40281, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1624:67:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1604:87:16" + }, + { + "expression": { + "id": 40283, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40275, + "src": "1709:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40273, + "id": 40284, + "nodeType": "Return", + "src": "1702:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialInputs", + "nameLocation": "1536:18:16", + "parameters": { + "id": 40270, + "nodeType": "ParameterList", + "parameters": [], + "src": "1554:2:16" + }, + "returnParameters": { + "id": 40273, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40272, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40286, + "src": "1580:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40271, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1580:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1579:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40310, + "nodeType": "FunctionDefinition", + "src": "1726:246:16", + "nodes": [], + "body": { + "id": 40309, + "nodeType": "Block", + "src": "1836:136:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40297 + ], + "declarations": [ + { + "constant": false, + "id": 40297, + "mutability": "mutable", + "name": "data", + "nameLocation": "1859:4:16", + "nodeType": "VariableDeclaration", + "scope": 40309, + "src": "1846:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40296, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1846:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40306, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303031", + "id": 40299, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1874:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", + "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" + }, + "value": "0x0000000000000000000000000000000042020001" + }, + { + "arguments": [ + { + "id": 40302, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40289, + "src": "1931:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40303, + "name": "key", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40291, + "src": "1938:3:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40300, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1920:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40301, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1924:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1920:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1920:22:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", + "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40298, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "1866:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1866:77:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1846:97:16" + }, + { + "expression": { + "id": 40307, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40297, + "src": "1961:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40295, + "id": 40308, + "nodeType": "Return", + "src": "1954:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreRetrieve", + "nameLocation": "1735:25:16", + "parameters": { + "id": 40292, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40289, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "1773:5:16", + "nodeType": "VariableDeclaration", + "scope": 40310, + "src": "1761:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40288, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40287, + "name": "Suave.BidId", + "nameLocations": [ + "1761:5:16", + "1767:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "1761:11:16" + }, + "referencedDeclaration": 39311, + "src": "1761:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40291, + "mutability": "mutable", + "name": "key", + "nameLocation": "1794:3:16", + "nodeType": "VariableDeclaration", + "scope": 40310, + "src": "1780:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40290, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1780:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1760:38:16" + }, + "returnParameters": { + "id": 40295, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40294, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40310, + "src": "1822:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40293, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1822:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1821:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40333, + "nodeType": "FunctionDefinition", + "src": "1978:225:16", + "nodes": [], + "body": { + "id": 40332, + "nodeType": "Block", + "src": "2082:121:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40321 + ], + "declarations": [ + { + "constant": false, + "id": 40321, + "mutability": "mutable", + "name": "data", + "nameLocation": "2105:4:16", + "nodeType": "VariableDeclaration", + "scope": 40332, + "src": "2092:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40320, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2092:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40331, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303030", + "id": 40323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2120:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", + "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" + }, + "value": "0x0000000000000000000000000000000042020000" + }, + { + "arguments": [ + { + "id": 40326, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40313, + "src": "2177:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40327, + "name": "key", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40315, + "src": "2184:3:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40328, + "name": "data1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40317, + "src": "2189:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40324, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2166:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2170:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2166:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2166:29:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", + "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40322, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2112:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40330, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2112:84:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2092:104:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confidentialStoreStore", + "nameLocation": "1987:22:16", + "parameters": { + "id": 40318, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40313, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2022:5:16", + "nodeType": "VariableDeclaration", + "scope": 40333, + "src": "2010:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40312, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40311, + "name": "Suave.BidId", + "nameLocations": [ + "2010:5:16", + "2016:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2010:11:16" + }, + "referencedDeclaration": 39311, + "src": "2010:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40315, + "mutability": "mutable", + "name": "key", + "nameLocation": "2043:3:16", + "nodeType": "VariableDeclaration", + "scope": 40333, + "src": "2029:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40314, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2029:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40317, + "mutability": "mutable", + "name": "data1", + "nameLocation": "2061:5:16", + "nodeType": "VariableDeclaration", + "scope": 40333, + "src": "2048:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40316, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2048:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2009:58:16" + }, + "returnParameters": { + "id": 40319, + "nodeType": "ParameterList", + "parameters": [], + "src": "2082:0:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40362, + "nodeType": "FunctionDefinition", + "src": "2209:264:16", + "nodes": [], + "body": { + "id": 40361, + "nodeType": "Block", + "src": "2306:167:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40343 + ], + "declarations": [ + { + "constant": false, + "id": 40343, + "mutability": "mutable", + "name": "data", + "nameLocation": "2329:4:16", + "nodeType": "VariableDeclaration", + "scope": 40361, + "src": "2316:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40342, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2316:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40352, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303033", + "id": 40345, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2344:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", + "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" + }, + "value": "0x0000000000000000000000000000000042100003" + }, + { + "arguments": [ + { + "id": 40348, + "name": "contractAddr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40335, + "src": "2401:12:16", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 40349, + "name": "input1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40337, + "src": "2415:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40346, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2390:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2394:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2390:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40350, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2390:32:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", + "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40344, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2336:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40351, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2336:87:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2316:107:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40355, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40343, + "src": "2452:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2459:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40356, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2459:5:16", + "typeDescriptions": {} + } + } + ], + "id": 40358, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2458:7:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40353, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2441:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2445:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "2441:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40359, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2441:25:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40341, + "id": 40360, + "nodeType": "Return", + "src": "2434:32:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "ethcall", + "nameLocation": "2218:7:16", + "parameters": { + "id": 40338, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40335, + "mutability": "mutable", + "name": "contractAddr", + "nameLocation": "2234:12:16", + "nodeType": "VariableDeclaration", + "scope": 40362, + "src": "2226:20:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 40334, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2226:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40337, + "mutability": "mutable", + "name": "input1", + "nameLocation": "2261:6:16", + "nodeType": "VariableDeclaration", + "scope": 40362, + "src": "2248:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40336, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2248:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2225:43:16" + }, + "returnParameters": { + "id": 40341, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40340, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40362, + "src": "2292:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40339, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2292:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2291:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40382, + "nodeType": "FunctionDefinition", + "src": "2479:219:16", + "nodes": [], + "body": { + "id": 40381, + "nodeType": "Block", + "src": "2562:136:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40370 + ], + "declarations": [ + { + "constant": false, + "id": 40370, + "mutability": "mutable", + "name": "data", + "nameLocation": "2585:4:16", + "nodeType": "VariableDeclaration", + "scope": 40381, + "src": "2572:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40369, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2572:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40378, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303337", + "id": 40372, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2600:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", + "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" + }, + "value": "0x0000000000000000000000000000000042100037" + }, + { + "arguments": [ + { + "id": 40375, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40364, + "src": "2657:10:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40373, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2646:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40374, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2650:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2646:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40376, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2646:22:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", + "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40371, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2592:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40377, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2592:77:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2572:97:16" + }, + { + "expression": { + "id": 40379, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40370, + "src": "2687:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40368, + "id": 40380, + "nodeType": "Return", + "src": "2680:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "extractHint", + "nameLocation": "2488:11:16", + "parameters": { + "id": 40365, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40364, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2513:10:16", + "nodeType": "VariableDeclaration", + "scope": 40382, + "src": "2500:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40363, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2500:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2499:25:16" + }, + "returnParameters": { + "id": 40368, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40367, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40382, + "src": "2548:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40366, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2548:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2547:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40414, + "nodeType": "FunctionDefinition", + "src": "2704:268:16", + "nodes": [], + "body": { + "id": 40413, + "nodeType": "Block", + "src": "2804:168:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40394 + ], + "declarations": [ + { + "constant": false, + "id": 40394, + "mutability": "mutable", + "name": "data", + "nameLocation": "2827:4:16", + "nodeType": "VariableDeclaration", + "scope": 40413, + "src": "2814:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40393, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2814:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40403, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303031", + "id": 40396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2842:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", + "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" + }, + "value": "0x0000000000000000000000000000000042030001" + }, + { + "arguments": [ + { + "id": 40399, + "name": "cond", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40384, + "src": "2899:4:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40400, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40386, + "src": "2905:9:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40397, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2888:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40398, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2892:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2888:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2888:27:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", + "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40395, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "2834:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40402, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:82:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2814:102:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40406, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40394, + "src": "2945:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 40407, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2952:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40408, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2958:3:16", + "memberName": "Bid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39328, + "src": "2952:9:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + }, + "id": 40409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2952:11:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + } + ], + "id": 40410, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2951:13:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "type(struct Suave.Bid memory[] memory)" + } + ], + "expression": { + "id": 40404, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2934:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2938:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "2934:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2934:31:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "functionReturnParameters": 40392, + "id": 40412, + "nodeType": "Return", + "src": "2927:38:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBids", + "nameLocation": "2713:9:16", + "parameters": { + "id": 40387, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40384, + "mutability": "mutable", + "name": "cond", + "nameLocation": "2730:4:16", + "nodeType": "VariableDeclaration", + "scope": 40414, + "src": "2723:11:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40383, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2723:6:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40386, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "2750:9:16", + "nodeType": "VariableDeclaration", + "scope": 40414, + "src": "2736:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40385, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2736:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2722:38:16" + }, + "returnParameters": { + "id": 40392, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40391, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40414, + "src": "2784:18:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 40389, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40388, + "name": "Suave.Bid", + "nameLocations": [ + "2784:5:16", + "2790:3:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2784:9:16" + }, + "referencedDeclaration": 39328, + "src": "2784:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 40390, + "nodeType": "ArrayTypeName", + "src": "2784:11:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "src": "2783:20:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40435, + "nodeType": "FunctionDefinition", + "src": "2978:215:16", + "nodes": [], + "body": { + "id": 40434, + "nodeType": "Block", + "src": "3062:131:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40423 + ], + "declarations": [ + { + "constant": false, + "id": 40423, + "mutability": "mutable", + "name": "data", + "nameLocation": "3085:4:16", + "nodeType": "VariableDeclaration", + "scope": 40434, + "src": "3072:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40422, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3072:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40431, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433323030303031", + "id": 40425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3100:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", + "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" + }, + "value": "0x0000000000000000000000000000000043200001" + }, + { + "arguments": [ + { + "id": 40428, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40417, + "src": "3157:5:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 40426, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3146:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40427, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3150:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3146:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40429, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3146:17:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", + "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40424, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "3092:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3092:72:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3072:92:16" + }, + { + "expression": { + "id": 40432, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40423, + "src": "3182:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40421, + "id": 40433, + "nodeType": "Return", + "src": "3175:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fillMevShareBundle", + "nameLocation": "2987:18:16", + "parameters": { + "id": 40418, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40417, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "3018:5:16", + "nodeType": "VariableDeclaration", + "scope": 40435, + "src": "3006:17:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40416, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40415, + "name": "Suave.BidId", + "nameLocations": [ + "3006:5:16", + "3012:5:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3006:11:16" + }, + "referencedDeclaration": 39311, + "src": "3006:11:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3005:19:16" + }, + "returnParameters": { + "id": 40421, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40420, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40435, + "src": "3048:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40419, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3048:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3047:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40473, + "nodeType": "FunctionDefinition", + "src": "3199:455:16", + "nodes": [], + "body": { + "id": 40472, + "nodeType": "Block", + "src": "3410:244:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40452 + ], + "declarations": [ + { + "constant": false, + "id": 40452, + "mutability": "mutable", + "name": "data", + "nameLocation": "3433:4:16", + "nodeType": "VariableDeclaration", + "scope": 40472, + "src": "3420:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40451, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3420:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40463, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303030", + "id": 40454, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3461:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", + "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" + }, + "value": "0x0000000000000000000000000000000042030000" + }, + { + "arguments": [ + { + "id": 40457, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40437, + "src": "3530:19:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40458, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40440, + "src": "3551:14:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40459, + "name": "allowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40443, + "src": "3567:13:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40460, + "name": "bidType", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40445, + "src": "3582:7:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40455, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3519:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40456, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3523:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3519:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3519:71:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", + "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40453, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "3440:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40462, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3440:160:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3420:180:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40466, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40452, + "src": "3629:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "expression": { + "id": 40467, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3636:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40468, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3642:3:16", + "memberName": "Bid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39328, + "src": "3636:9:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + } + ], + "id": 40469, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3635:11:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", + "typeString": "type(struct Suave.Bid storage pointer)" + } + ], + "expression": { + "id": 40464, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3618:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40465, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3622:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "3618:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40470, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3618:29:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "functionReturnParameters": 40450, + "id": 40471, + "nodeType": "Return", + "src": "3611:36:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "3208:6:16", + "parameters": { + "id": 40446, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40437, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3231:19:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3224:26:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40436, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3224:6:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40440, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "3277:14:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3260:31:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40438, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3260:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40439, + "nodeType": "ArrayTypeName", + "src": "3260:9:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40443, + "mutability": "mutable", + "name": "allowedStores", + "nameLocation": "3318:13:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3301:30:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40441, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3301:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40442, + "nodeType": "ArrayTypeName", + "src": "3301:9:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40445, + "mutability": "mutable", + "name": "bidType", + "nameLocation": "3355:7:16", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3341:21:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40444, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3341:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3214:154:16" + }, + "returnParameters": { + "id": 40450, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40449, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40473, + "src": "3392:16:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40448, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40447, + "name": "Suave.Bid", + "nameLocations": [ + "3392:5:16", + "3398:3:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3392:9:16" + }, + "referencedDeclaration": 39328, + "src": "3392:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "3391:18:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40505, + "nodeType": "FunctionDefinition", + "src": "3660:331:16", + "nodes": [], + "body": { + "id": 40504, + "nodeType": "Block", + "src": "3820:171:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40485 + ], + "declarations": [ + { + "constant": false, + "id": 40485, + "mutability": "mutable", + "name": "data", + "nameLocation": "3843:4:16", + "nodeType": "VariableDeclaration", + "scope": 40504, + "src": "3830:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40484, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3830:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40495, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303430313030303031", + "id": 40487, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3858:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", + "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" + }, + "value": "0x0000000000000000000000000000000040100001" + }, + { + "arguments": [ + { + "id": 40490, + "name": "txn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40475, + "src": "3915:3:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "id": 40491, + "name": "chainId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40477, + "src": "3920:7:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40492, + "name": "signingKey", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40479, + "src": "3929:10:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 40488, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3904:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40489, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3908:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3904:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40493, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3904:36:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", + "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40486, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "3850:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40494, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3850:91:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3830:111:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40498, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40485, + "src": "3970:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3977:5:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40499, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3977:5:16", + "typeDescriptions": {} + } + } + ], + "id": 40501, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3976:7:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40496, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3959:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3963:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "3959:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40502, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3959:25:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40483, + "id": 40503, + "nodeType": "Return", + "src": "3952:32:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "signEthTransaction", + "nameLocation": "3669:18:16", + "parameters": { + "id": 40480, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40475, + "mutability": "mutable", + "name": "txn", + "nameLocation": "3701:3:16", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3688:16:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40474, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3688:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40477, + "mutability": "mutable", + "name": "chainId", + "nameLocation": "3720:7:16", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3706:21:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40476, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3706:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40479, + "mutability": "mutable", + "name": "signingKey", + "nameLocation": "3743:10:16", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3729:24:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40478, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3729:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3687:67:16" + }, + "returnParameters": { + "id": 40483, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40482, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40505, + "src": "3802:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40481, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3802:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3801:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40531, + "nodeType": "FunctionDefinition", + "src": "3997:238:16", + "nodes": [], + "body": { + "id": 40530, + "nodeType": "Block", + "src": "4077:158:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40513 + ], + "declarations": [ + { + "constant": false, + "id": 40513, + "mutability": "mutable", + "name": "data", + "nameLocation": "4100:4:16", + "nodeType": "VariableDeclaration", + "scope": 40530, + "src": "4087:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40512, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4087:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40521, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303030", + "id": 40515, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4115:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", + "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" + }, + "value": "0x0000000000000000000000000000000042100000" + }, + { + "arguments": [ + { + "id": 40518, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40507, + "src": "4172:10:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40516, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4161:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40517, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4165:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4161:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4161:22:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", + "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40514, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "4107:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4107:77:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4087:97:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40524, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40513, + "src": "4213:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40526, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4220:6:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 40525, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "4220:6:16", + "typeDescriptions": {} + } + } + ], + "id": 40527, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "4219:8:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 40522, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4202:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40523, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4206:6:16", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "4202:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40528, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4202:26:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "functionReturnParameters": 40511, + "id": 40529, + "nodeType": "Return", + "src": "4195:33:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "simulateBundle", + "nameLocation": "4006:14:16", + "parameters": { + "id": 40508, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40507, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "4034:10:16", + "nodeType": "VariableDeclaration", + "scope": 40531, + "src": "4021:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40506, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4021:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4020:25:16" + }, + "returnParameters": { + "id": 40511, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40510, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40531, + "src": "4069:6:16", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40509, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "4069:6:16", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "4068:8:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40557, + "nodeType": "FunctionDefinition", + "src": "4241:301:16", + "nodes": [], + "body": { + "id": 40556, + "nodeType": "Block", + "src": "4397:145:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40543 + ], + "declarations": [ + { + "constant": false, + "id": 40543, + "mutability": "mutable", + "name": "data", + "nameLocation": "4420:4:16", + "nodeType": "VariableDeclaration", + "scope": 40556, + "src": "4407:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40542, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4407:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40553, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433303030303031", + "id": 40545, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4435:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", + "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" + }, + "value": "0x0000000000000000000000000000000043000001" + }, + { + "arguments": [ + { + "id": 40548, + "name": "url", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40533, + "src": "4492:3:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40549, + "name": "method", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40535, + "src": "4497:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40550, + "name": "params", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40537, + "src": "4505:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40546, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4481:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40547, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4485:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4481:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4481:31:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", + "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40544, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "4427:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40552, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4427:86:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4407:106:16" + }, + { + "expression": { + "id": 40554, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40543, + "src": "4531:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40541, + "id": 40555, + "nodeType": "Return", + "src": "4524:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitBundleJsonRPC", + "nameLocation": "4250:19:16", + "parameters": { + "id": 40538, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40533, + "mutability": "mutable", + "name": "url", + "nameLocation": "4284:3:16", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4270:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40532, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4270:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40535, + "mutability": "mutable", + "name": "method", + "nameLocation": "4303:6:16", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4289:20:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40534, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4289:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40537, + "mutability": "mutable", + "name": "params", + "nameLocation": "4324:6:16", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4311:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40536, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4311:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4269:62:16" + }, + "returnParameters": { + "id": 40541, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40540, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40557, + "src": "4379:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40539, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4379:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4378:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "id": 40580, + "nodeType": "FunctionDefinition", + "src": "4548:294:16", + "nodes": [], + "body": { + "id": 40579, + "nodeType": "Block", + "src": "4696:146:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40567 + ], + "declarations": [ + { + "constant": false, + "id": 40567, + "mutability": "mutable", + "name": "data", + "nameLocation": "4719:4:16", + "nodeType": "VariableDeclaration", + "scope": 40579, + "src": "4706:17:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40566, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4706:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40576, + "initialValue": { + "arguments": [ + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303032", + "id": 40569, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4734:44:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", + "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" + }, + "value": "0x0000000000000000000000000000000042100002" + }, + { + "arguments": [ + { + "id": 40572, + "name": "relayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40559, + "src": "4791:8:16", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 40573, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40561, + "src": "4801:10:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40570, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4780:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40571, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4784:6:16", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4780:10:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40574, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4780:32:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", + "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40568, + "name": "forgeIt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40149, + "src": "4726:7:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4726:87:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4706:107:16" + }, + { + "expression": { + "id": 40577, + "name": "data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40567, + "src": "4831:4:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40565, + "id": 40578, + "nodeType": "Return", + "src": "4824:11:16" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "submitEthBlockBidToRelay", + "nameLocation": "4557:24:16", + "parameters": { + "id": 40562, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40559, + "mutability": "mutable", + "name": "relayUrl", + "nameLocation": "4596:8:16", + "nodeType": "VariableDeclaration", + "scope": 40580, + "src": "4582:22:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 40558, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4582:6:16", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40561, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "4619:10:16", + "nodeType": "VariableDeclaration", + "scope": 40580, + "src": "4606:23:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40560, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4606:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4581:49:16" + }, + "returnParameters": { + "id": 40565, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40564, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40580, + "src": "4678:12:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40563, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4678:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4677:14:16" + }, + "scope": 40581, + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "SuaveForge", + "contractDependencies": [], + "contractKind": "library", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40581 + ], + "name": "SuaveForge", + "nameLocation": "207:10:16", + "scope": 40582, + "usedErrors": [] + } + ], + "license": "UNLICENSED" + }, + "id": 16 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/AnyBidContract.json b/suave/artifacts/bids.sol/AnyBidContract.json index a097598f66..dd40d9fdb6 100644 --- a/suave/artifacts/bids.sol/AnyBidContract.json +++ b/suave/artifacts/bids.sol/AnyBidContract.json @@ -100,10 +100,19463 @@ "type": "function" } ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5061051f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a", + "sourceMap": "59:532:18:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a" + "object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a", + "sourceMap": "59:532:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187:228;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;467:122;;;;;;:::i;:::-;;:::i;:::-;;187:228;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;14:250:20:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:20;238:16;;231:27;14:250::o;269:270::-;310:3;348:5;342:12;375:6;370:3;363:19;391:76;460:6;453:4;448:3;444:14;437:4;430:5;426:16;391:76;:::i;:::-;521:2;500:15;-1:-1:-1;;496:29:20;487:39;;;;528:4;483:50;;269:270;-1:-1:-1;;269:270:20:o;544:217::-;691:2;680:9;673:21;654:4;711:44;751:2;740:9;736:18;728:6;711:44;:::i;:::-;703:52;544:217;-1:-1:-1;;;544:217:20:o;766:384::-;849:6;902:2;890:9;881:7;877:23;873:32;870:52;;;918:1;915;908:12;870:52;958:9;945:23;991:18;983:6;980:30;977:50;;;1023:1;1020;1013:12;977:50;1046:22;;1102:3;1084:16;;;1080:26;1077:46;;;1119:1;1116;1109:12;1155:127;1216:10;1211:3;1207:20;1204:1;1197:31;1247:4;1244:1;1237:15;1271:4;1268:1;1261:15;1287:896;1366:6;1419:2;1407:9;1398:7;1394:23;1390:32;1387:52;;;1435:1;1432;1425:12;1387:52;1468:9;1462:16;1497:18;1538:2;1530:6;1527:14;1524:34;;;1554:1;1551;1544:12;1524:34;1592:6;1581:9;1577:22;1567:32;;1637:7;1630:4;1626:2;1622:13;1618:27;1608:55;;1659:1;1656;1649:12;1608:55;1688:2;1682:9;1710:2;1706;1703:10;1700:36;;;1716:18;;:::i;:::-;1791:2;1785:9;1759:2;1845:13;;-1:-1:-1;;1841:22:20;;;1865:2;1837:31;1833:40;1821:53;;;1889:18;;;1909:22;;;1886:46;1883:72;;;1935:18;;:::i;:::-;1975:10;1971:2;1964:22;2010:2;2002:6;1995:18;2050:7;2045:2;2040;2036;2032:11;2028:20;2025:33;2022:53;;;2071:1;2068;2061:12;2022:53;2084:68;2149:2;2144;2136:6;2132:15;2127:2;2123;2119:11;2084:68;:::i;:::-;2171:6;1287:896;-1:-1:-1;;;;;;;1287:896:20:o;2188:333::-;2274:6;2327:2;2315:9;2306:7;2302:23;2298:32;2295:52;;;2343:1;2340;2333:12;2295:52;2369:23;;-1:-1:-1;;2421:51:20;;2411:62;;2401:90;;2487:1;2484;2477:12;2526:284;2584:6;2637:2;2625:9;2616:7;2612:23;2608:32;2605:52;;;2653:1;2650;2643:12;2605:52;2692:9;2679:23;2742:18;2735:5;2731:30;2724:5;2721:41;2711:69;;2776:1;2773;2766:12;2815:545;2908:4;2914:6;2974:11;2961:25;3068:2;3064:7;3053:8;3037:14;3033:29;3029:43;3009:18;3005:68;2995:96;;3087:1;3084;3077:12;2995:96;3114:33;;3166:20;;;-1:-1:-1;3209:18:20;3198:30;;3195:50;;;3241:1;3238;3231:12;3195:50;3274:4;3262:17;;-1:-1:-1;3325:1:20;3321:14;;;3305;3301:35;3291:46;;3288:66;;;3350:1;3347;3340:12;3288:66;2815:545;;;;;:::o;3365:1006::-;3598:4;3646:2;3635:9;3631:18;3692:34;3688:39;3680:6;3676:52;3665:9;3658:71;3748:2;3798:18;3790:6;3786:31;3781:2;3770:9;3766:18;3759:59;3854:2;3849;3838:9;3834:18;3827:30;3877:6;3907;3899;3892:22;3945:3;3934:9;3930:19;3923:26;;3972:6;3958:20;;3996:1;4017;4027:318;4043:6;4038:3;4035:15;4027:318;;;4109:20;;-1:-1:-1;;;;;4152:31:20;;4206:13;;;4196:41;;4233:1;4230;4223:12;4196:41;4250:15;;-1:-1:-1;4320:15:20;;;;4285:12;;;;4069:1;4060:11;4027:318;;;-1:-1:-1;4362:3:20;;3365:1006;-1:-1:-1;;;;;;;;;3365:1006:20:o;4586:314::-;-1:-1:-1;;;;;4761:32:20;;4743:51;;4830:2;4825;4810:18;;4803:30;;;-1:-1:-1;;4850:44:20;;4875:18;;4867:6;4850:44;:::i;:::-;4842:52;4586:314;-1:-1:-1;;;;4586:314:20:o;4905:287::-;5034:3;5072:6;5066:13;5088:66;5147:6;5142:3;5135:4;5127:6;5123:17;5088:66;:::i;:::-;5170:16;;;;;4905:287;-1:-1:-1;;4905:287:20:o", + "linkReferences": {} }, - "bytecode": { - "object": "0x608060405234801561001057600080fd5b5061051f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "fetchBidConfidentialBundleData()": "92f07a58" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"AnyBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "AnyBidContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/BundleBidContract.json b/suave/artifacts/bids.sol/BundleBidContract.json index 7bce91be55..79d4fd5986 100644 --- a/suave/artifacts/bids.sol/BundleBidContract.json +++ b/suave/artifacts/bids.sol/BundleBidContract.json @@ -129,10 +129,19493 @@ "type": "function" } ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b50610e8f806100206000396000f3fe6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a", + "sourceMap": "593:936:18:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a" + "object": "0x6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a", + "sourceMap": "593:936:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;642:646;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;187:228;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;:::-;;642:646;783:12;809:22;:20;:22::i;:::-;801:31;;;;;;837:23;863:4;-1:-1:-1;;;;;863:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;863:37:18;;;;;;;;;;;;:::i;:::-;837:63;;905:10;918:32;939:10;918:20;:32::i;:::-;905:45;;955:20;978:95;991:19;1012:17;1031:16;978:95;;;;;;;;;;;;;-1:-1:-1;;;978:95:18;;;:12;:95::i;:::-;955:118;;1078:73;1107:3;:6;;;1078:73;;;;;;;;;;;;;-1:-1:-1;;;1078:73:18;;;1140:10;1078:28;:73::i;:::-;1184:6;;1155:87;;;;;;;;;;;;;;;;;;;;1226:15;;-1:-1:-1;;;;;4777:31:20;;1226:15:18;;;4759:50:20;1226:15:18;;;;;;;;;;4732:18:20;;1226:15:18;;;1155:87;;1184:6;1155:28;:87::i;:::-;1254:30;1268:3;1273:10;1254:13;:30::i;:::-;1247:37;;;;;642:646;;;;;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;1291:236:18:-;1376:12;1399:61;1408:3;:6;;;1416:3;:23;;;1441:3;:18;;;1399:61;;;;;;;;:::i;:::-;;;;;;;;1507:15;;-1:-1:-1;;;1484:21:18;1507:15;;1518:3;;1507:15;;;:::i;:::-;;;;-1:-1:-1;;1507:15:18;;;;;;;;;;1471:52;;;1507:15;1471:52;;:::i;:::-;;;;;;;;;;;;;1464:59;;1291:236;;;;:::o;3051:282:14:-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;14:129:20:-;-1:-1:-1;;;;;92:5:20;88:30;81:5;78:41;68:69;;133:1;130;123:12;68:69;14:129;:::o;148:127::-;209:10;204:3;200:20;197:1;190:31;240:4;237:1;230:15;264:4;261:1;254:15;280:253;352:2;346:9;394:4;382:17;;-1:-1:-1;;;;;414:34:20;;450:22;;;411:62;408:88;;;476:18;;:::i;:::-;512:2;505:22;280:253;:::o;538:275::-;609:2;603:9;674:2;655:13;;-1:-1:-1;;651:27:20;639:40;;-1:-1:-1;;;;;694:34:20;;730:22;;;691:62;688:88;;;756:18;;:::i;:::-;792:2;785:22;538:275;;-1:-1:-1;538:275:20:o;818:183::-;878:4;-1:-1:-1;;;;;903:6:20;900:30;897:56;;;933:18;;:::i;:::-;-1:-1:-1;978:1:20;974:14;990:4;970:25;;818:183::o;1006:131::-;-1:-1:-1;;;;;1081:31:20;;1071:42;;1061:70;;1127:1;1124;1117:12;1142:737;1196:5;1249:3;1242:4;1234:6;1230:17;1226:27;1216:55;;1267:1;1264;1257:12;1216:55;1303:6;1290:20;1329:4;1353:60;1369:43;1409:2;1369:43;:::i;:::-;1353:60;:::i;:::-;1447:15;;;1533:1;1529:10;;;;1517:23;;1513:32;;;1478:12;;;;1557:15;;;1554:35;;;1585:1;1582;1575:12;1554:35;1621:2;1613:6;1609:15;1633:217;1649:6;1644:3;1641:15;1633:217;;;1729:3;1716:17;1746:31;1771:5;1746:31;:::i;:::-;1790:18;;1828:12;;;;1666;;1633:217;;;-1:-1:-1;1868:5:20;1142:737;-1:-1:-1;;;;;;1142:737:20:o;1884:728::-;2010:6;2018;2026;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;2134:9;2121:23;2153:30;2177:5;2153:30;:::i;:::-;2202:5;-1:-1:-1;2258:2:20;2243:18;;2230:32;-1:-1:-1;;;;;2311:14:20;;;2308:34;;;2338:1;2335;2328:12;2308:34;2361:61;2414:7;2405:6;2394:9;2390:22;2361:61;:::i;:::-;2351:71;;2475:2;2464:9;2460:18;2447:32;2431:48;;2504:2;2494:8;2491:16;2488:36;;;2520:1;2517;2510:12;2488:36;;2543:63;2598:7;2587:8;2576:9;2572:24;2543:63;:::i;:::-;2533:73;;;1884:728;;;;;:::o;2617:250::-;2702:1;2712:113;2726:6;2723:1;2720:13;2712:113;;;2802:11;;;2796:18;2783:11;;;2776:39;2748:2;2741:10;2712:113;;;-1:-1:-1;;2859:1:20;2841:16;;2834:27;2617:250::o;2872:270::-;2913:3;2951:5;2945:12;2978:6;2973:3;2966:19;2994:76;3063:6;3056:4;3051:3;3047:14;3040:4;3033:5;3029:16;2994:76;:::i;:::-;3124:2;3103:15;-1:-1:-1;;3099:29:20;3090:39;;;;3131:4;3086:50;;2872:270;-1:-1:-1;;2872:270:20:o;3147:217::-;3294:2;3283:9;3276:21;3257:4;3314:44;3354:2;3343:9;3339:18;3331:6;3314:44;:::i;3369:384::-;3452:6;3505:2;3493:9;3484:7;3480:23;3476:32;3473:52;;;3521:1;3518;3511:12;3473:52;3561:9;3548:23;-1:-1:-1;;;;;3586:6:20;3583:30;3580:50;;;3626:1;3623;3616:12;3580:50;3649:22;;3705:3;3687:16;;;3683:26;3680:46;;;3722:1;3719;3712:12;3758:390;3833:5;-1:-1:-1;;;;;3859:6:20;3856:30;3853:56;;;3889:18;;:::i;:::-;3927:57;3972:2;3951:15;;-1:-1:-1;;3947:29:20;3978:4;3943:40;3927:57;:::i;:::-;3918:66;;4007:6;4000:5;3993:21;4047:3;4038:6;4033:3;4029:16;4026:25;4023:45;;;4064:1;4061;4054:12;4023:45;4077:65;4135:6;4128:4;4121:5;4117:16;4112:3;4077:65;:::i;4153:457::-;4232:6;4285:2;4273:9;4264:7;4260:23;4256:32;4253:52;;;4301:1;4298;4291:12;4253:52;4334:9;4328:16;-1:-1:-1;;;;;4359:6:20;4356:30;4353:50;;;4399:1;4396;4389:12;4353:50;4422:22;;4475:4;4467:13;;4463:27;-1:-1:-1;4453:55:20;;4504:1;4501;4494:12;4453:55;4527:77;4596:7;4591:2;4585:9;4580:2;4576;4572:11;4527:77;:::i;4820:170::-;-1:-1:-1;;4914:51:20;;4904:62;;4894:90;;4980:1;4977;4970:12;4995:293;5081:6;5134:2;5122:9;5113:7;5109:23;5105:32;5102:52;;;5150:1;5147;5140:12;5102:52;5189:9;5176:23;5208:50;5252:5;5208:50;:::i;5293:245::-;5351:6;5404:2;5392:9;5383:7;5379:23;5375:32;5372:52;;;5420:1;5417;5410:12;5372:52;5459:9;5446:23;5478:30;5502:5;5478:30;:::i;5543:545::-;5636:4;5642:6;5702:11;5689:25;5796:2;5792:7;5781:8;5765:14;5761:29;5757:43;5737:18;5733:68;5723:96;;5815:1;5812;5805:12;5723:96;5842:33;;5894:20;;;-1:-1:-1;;;;;;5926:30:20;;5923:50;;;5969:1;5966;5959:12;5923:50;6002:4;5990:17;;-1:-1:-1;6053:1:20;6049:14;;;6033;6029:35;6019:46;;6016:66;;;6078:1;6075;6068:12;6016:66;5543:545;;;;;:::o;6093:944::-;6326:4;6374:2;6363:9;6359:18;-1:-1:-1;;;;;6416:39:20;6408:6;6404:52;6393:9;6386:71;6476:2;-1:-1:-1;;;;;6518:6:20;6514:31;6509:2;6498:9;6494:18;6487:59;6582:2;6577;6566:9;6562:18;6555:30;6605:6;6635;6627;6620:22;6673:3;6662:9;6658:19;6651:26;;6700:6;6686:20;;6724:1;6734:277;6748:6;6745:1;6742:13;6734:277;;;6823:6;6810:20;6843:31;6868:5;6843:31;:::i;:::-;-1:-1:-1;;;;;6899:31:20;6887:44;;6986:15;;;;6951:12;;;;6927:1;6763:9;6734:277;;;-1:-1:-1;7028:3:20;6093:944;-1:-1:-1;;;;;;;;6093:944:20:o;7252:314::-;-1:-1:-1;;;;;7427:32:20;;7409:51;;7496:2;7491;7476:18;;7469:30;;;-1:-1:-1;;7516:44:20;;7541:18;;7533:6;7516:44;:::i;7571:287::-;7700:3;7738:6;7732:13;7754:66;7813:6;7808:3;7801:4;7793:6;7789:17;7754:66;:::i;:::-;7836:16;;;;;7571:287;-1:-1:-1;;7571:287:20:o;7863:136::-;7941:13;;7963:30;7941:13;7963:30;:::i;:::-;7863:136;;;:::o;8004:249::-;8073:6;8126:2;8114:9;8105:7;8101:23;8097:32;8094:52;;;8142:1;8139;8132:12;8094:52;8174:9;8168:16;8193:30;8217:5;8193:30;:::i;8258:461::-;8311:3;8349:5;8343:12;8376:6;8371:3;8364:19;8402:4;8431:2;8426:3;8422:12;8415:19;;8468:2;8461:5;8457:14;8489:1;8499:195;8513:6;8510:1;8507:13;8499:195;;;8578:13;;-1:-1:-1;;;;;8574:39:20;8562:52;;8634:12;;;;8669:15;;;;8610:1;8528:9;8499:195;;;-1:-1:-1;8710:3:20;;8258:461;-1:-1:-1;;;;;8258:461:20:o;8724:723::-;-1:-1:-1;;;;;9059:6:20;9055:31;9044:9;9037:50;9123:3;9118:2;9107:9;9103:18;9096:31;9018:4;9150:57;9202:3;9191:9;9187:19;9179:6;9150:57;:::i;:::-;9255:9;9247:6;9243:22;9238:2;9227:9;9223:18;9216:50;9289:44;9326:6;9318;9289:44;:::i;:::-;9275:58;;9381:9;9373:6;9369:22;9364:2;9353:9;9349:18;9342:50;9409:32;9434:6;9426;9409:32;:::i;9452:176::-;9550:13;;9572:50;9550:13;9572:50;:::i;9633:734::-;9698:5;9751:3;9744:4;9736:6;9732:17;9728:27;9718:55;;9769:1;9766;9759:12;9718:55;9798:6;9792:13;9824:4;9848:60;9864:43;9904:2;9864:43;:::i;9848:60::-;9942:15;;;10028:1;10024:10;;;;10012:23;;10008:32;;;9973:12;;;;10052:15;;;10049:35;;;10080:1;10077;10070:12;10049:35;10116:2;10108:6;10104:15;10128:210;10144:6;10139:3;10136:15;10128:210;;;10217:3;10211:10;10234:31;10259:5;10234:31;:::i;:::-;10278:18;;10316:12;;;;10161;;10128:210;;10372:236;10426:5;10479:3;10472:4;10464:6;10460:17;10456:27;10446:55;;10497:1;10494;10487:12;10446:55;10519:83;10598:3;10589:6;10583:13;10576:4;10568:6;10564:17;10519:83;:::i;10613:1256::-;10705:6;10758:2;10746:9;10737:7;10733:23;10729:32;10726:52;;;10774:1;10771;10764:12;10726:52;10807:9;10801:16;-1:-1:-1;;;;;10877:2:20;10869:6;10866:14;10863:34;;;10893:1;10890;10883:12;10863:34;10916:22;;;;10972:4;10954:16;;;10950:27;10947:47;;;10990:1;10987;10980:12;10947:47;11016:22;;:::i;:::-;11061:52;11110:2;11061:52;:::i;:::-;11054:5;11047:67;11146:61;11203:2;11199;11195:11;11146:61;:::i;:::-;11141:2;11134:5;11130:14;11123:85;11240:41;11277:2;11273;11269:11;11240:41;:::i;:::-;11235:2;11228:5;11224:14;11217:65;11321:2;11317;11313:11;11307:18;11350:2;11340:8;11337:16;11334:36;;;11366:1;11363;11356:12;11334:36;11402:67;11461:7;11450:8;11446:2;11442:17;11402:67;:::i;:::-;11397:2;11390:5;11386:14;11379:91;;11509:3;11505:2;11501:12;11495:19;11539:2;11529:8;11526:16;11523:36;;;11555:1;11552;11545:12;11523:36;11592:67;11651:7;11640:8;11636:2;11632:17;11592:67;:::i;:::-;11586:3;11579:5;11575:15;11568:92;;11699:3;11695:2;11691:12;11685:19;11729:2;11719:8;11716:16;11713:36;;;11745:1;11742;11735:12;11713:36;11782:56;11830:7;11819:8;11815:2;11811:17;11782:56;:::i;:::-;11776:3;11765:15;;11758:81;-1:-1:-1;11769:5:20;10613:1256;-1:-1:-1;;;;;10613:1256:20:o;11874:523::-;-1:-1:-1;;;;;12136:39:20;12128:6;12124:52;12113:9;12106:71;12213:2;12208;12197:9;12193:18;12186:30;12087:4;12239:44;12279:2;12268:9;12264:18;12256:6;12239:44;:::i;:::-;12331:9;12323:6;12319:22;12314:2;12303:9;12299:18;12292:50;12359:32;12384:6;12376;12359:32;:::i;:::-;12351:40;11874:523;-1:-1:-1;;;;;;11874:523:20:o;12402:499::-;-1:-1:-1;;;;;12674:39:20;12666:6;12662:52;12651:9;12644:71;-1:-1:-1;;;;;12755:6:20;12751:31;12746:2;12735:9;12731:18;12724:59;12819:2;12814;12803:9;12799:18;12792:30;12625:4;12839:56;12891:2;12880:9;12876:18;12868:6;12839:56;:::i;:::-;12831:64;12402:499;-1:-1:-1;;;;;12402:499:20:o;12906:1035::-;13079:2;13068:9;13061:21;13042:4;-1:-1:-1;;;;;13101:39:20;13195:2;13186:6;13180:13;13176:22;13171:2;13160:9;13156:18;13149:50;13263:2;13257;13249:6;13245:15;13239:22;13235:31;13230:2;13219:9;13215:18;13208:59;;-1:-1:-1;;;;;13325:2:20;13317:6;13313:15;13307:22;13303:47;13298:2;13287:9;13283:18;13276:75;13398:2;13390:6;13386:15;13380:22;13439:4;13433:3;13422:9;13418:19;13411:33;13467:63;13525:3;13514:9;13510:19;13496:12;13467:63;:::i;:::-;13453:77;;13579:3;13571:6;13567:16;13561:23;13607:2;13603:7;13675:2;13663:9;13655:6;13651:22;13647:31;13641:3;13630:9;13626:19;13619:60;13702:52;13747:6;13731:14;13702:52;:::i;:::-;13688:66;;13803:3;13795:6;13791:16;13785:23;13763:45;;13874:2;13862:9;13854:6;13850:22;13846:31;13839:4;13828:9;13824:20;13817:61;;13895:40;13928:6;13912:14;13895:40;:::i;13946:384::-;-1:-1:-1;;;;;;14131:33:20;;14119:46;;14188:13;;14101:3;;14210:74;14188:13;14273:1;14264:11;;14257:4;14245:17;;14210:74;:::i;:::-;14304:16;;;;14322:1;14300:24;;13946:384;-1:-1:-1;;;13946:384:20:o", + "linkReferences": {} }, - "bytecode": { - "object": "0x608060405234801561001057600080fd5b50610e8f806100206000396000f3fe6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "fetchBidConfidentialBundleData()": "92f07a58", + "newBid(uint64,address[],address[])": "236eb5a7" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"BundleBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "bidAllowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "bidAllowedStores", + "type": "address[]" + } + ], + "stateMutability": "payable", + "type": "function", + "name": "newBid", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "BundleBidContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/EthBlockBidContract.json b/suave/artifacts/bids.sol/EthBlockBidContract.json index 5e20f90406..8d533848db 100644 --- a/suave/artifacts/bids.sol/EthBlockBidContract.json +++ b/suave/artifacts/bids.sol/EthBlockBidContract.json @@ -669,10 +669,20039 @@ "type": "function" } ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b506125db806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a", + "sourceMap": "5594:5568:18:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a" + "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a", + "sourceMap": "5594:5568:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9205:556;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5999:2014;;;;;;:::i;:::-;;:::i;10827:333::-;;;;;;:::i;:::-;;:::i;187:228::-;;;:::i;10548:276::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;467:122::-;;;;;;:::i;:::-;;:::i;:::-;;9764:781;;;;;;:::i;:::-;;:::i;5720:276::-;;;;;;:::i;:::-;;:::i;:::-;;;13765:14:20;;13758:22;13740:41;;13728:2;13713:18;5720:276:18;13600:187:20;8016:1186:18;;;;;;:::i;:::-;;:::i;9205:556::-;9362:12;9388:22;:20;:22::i;:::-;9380:31;;;;;;9471:53;;-1:-1:-1;;;9471:53:18;;9417:25;;;;9471:4;;:12;;:53;;9484:9;;9495:11;;9508:4;;9514:9;;9471:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9471:53:18;;;;;;;;;;;;:::i;:::-;9416:108;;;;9534:45;9555:8;:11;;;9568:10;9534:45;;;;;;;:::i;:::-;;;;;;;;9588:76;9597:8;:11;;;9610:8;:28;;;9640:8;:23;;;9588:76;;;;;;;;:::i;:::-;;;;;;;;9724:32;;-1:-1:-1;;;9688:34:18;9724:32;;9735:8;;9745:10;;9724:32;;;:::i;:::-;;;;-1:-1:-1;;9724:32:18;;;;;;;;;;9675:82;;;9724:32;9675:82;;:::i;:::-;;;;;;;;;;;;;9668:89;;;;9205:556;;;;;;:::o;5999:2014::-;6097:12;6123:22;:20;:22::i;:::-;6115:31;;;;;;6151:36;6190:53;6206:11;6190:53;;;;;;;;;;;;;-1:-1:-1;;;6190:53:18;;;:15;:53::i;:::-;6151:92;;6247:35;6285:60;6301:11;6285:60;;;;;;;;;;;;;;;;;:15;:60::i;:::-;6247:98;;6354:16;:23;6381:1;6354:28;6350:97;;6425:4;6396:46;;-1:-1:-1;;;6396:46:18;;;;;;;;:::i;:::-;;;;;;;;6350:97;6451:26;6496:16;:23;-1:-1:-1;;;;;6480:40:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6451:69;;6529:6;6524:617;6545:16;:23;6541:1;:27;6524:617;;;6619:28;6650:16;6667:1;6650:19;;;;;;;;:::i;:::-;;;;;;;6619:50;;6725:6;6720:388;6741:17;:24;6737:1;:28;6720:388;;;6835:33;6882:82;6914:17;6932:1;6914:20;;;;;;;;:::i;:::-;;;;;;;:23;;;6882:82;;;;;;;;;;;;;-1:-1:-1;;;6882:82:18;;;:31;:82::i;:::-;6871:111;;;;;;;;;;;;:::i;:::-;6835:147;;6992:49;7001:12;7014:1;7001:15;;;;;;;;:::i;:::-;;;;;;;7018:16;7035:1;7018:19;;;;;;;;:::i;:::-;;;;;;;:22;;;6992:8;:49::i;:::-;6988:115;;;7064:17;7082:1;7064:20;;;;;;;;:::i;:::-;;;;;;;7050:34;;7091:5;;;6988:115;-1:-1:-1;6767:3:18;;;;:::i;:::-;;;;6720:388;;;;7125:11;7112:7;7120:1;7112:10;;;;;;;;:::i;:::-;;;;;;:24;;;;6575:566;6570:3;;;;;:::i;:::-;;;;6524:617;;;;7145:29;7194:7;:14;-1:-1:-1;;;;;7177:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;7177:32:18;;;;;;;;;;;;;;;;7145:64;;7218:6;7213:259;7234:7;:14;7230:1;:18;7213:259;;;7260:23;7286:81;7318:7;7326:1;7318:10;;;;;;;;:::i;:::-;;;;;;;:13;;;7286:81;;;;;;;;;;;;;;;;;:31;:81::i;:::-;7260:107;;7372:10;7396;7385:32;;;;;;;;;;;;:::i;:::-;7372:45;;7437:30;;;;;;;;7448:3;-1:-1:-1;;;;;7437:30:18;;;;;7453:7;7461:1;7453:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;7437:30:18;;;;;7422:9;7432:1;7422:12;;;;;;;;:::i;:::-;;;;;;:45;;;;7255:217;;7250:3;;;;;:::i;:::-;;;;7213:259;;;-1:-1:-1;7517:16:18;;7508:6;7537:238;7558:5;7562:1;7558;:5;:::i;:::-;7554:1;:9;7537:238;;;7580:6;7589:5;:1;7593;7589:5;:::i;:::-;7580:14;;7575:196;7600:1;7596;:5;7575:196;;;7637:9;7647:1;7637:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;:9;7628:1;7618:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;;7614:152;;;7662:22;7687:9;7697:1;7687:12;;;;;;;;:::i;:::-;;;;;;;7662:37;;7721:9;7731:1;7721:12;;;;;;;;:::i;:::-;;;;;;;7706:9;7716:1;7706:12;;;;;;;;:::i;:::-;;;;;;:27;;;;7755:4;7740:9;7750:1;7740:12;;;;;;;;:::i;:::-;;;;;;:19;;;;7655:111;7614:152;7603:3;;;;:::i;:::-;;;;7575:196;;;-1:-1:-1;7565:3:18;;;;:::i;:::-;;;;7537:238;;;;7779:30;7830:7;:14;-1:-1:-1;;;;;7812:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7812:33:18;;7779:66;;7854:6;7849:87;7870:9;:16;7866:1;:20;7849:87;;;7913:9;7923:1;7913:12;;;;;;;;:::i;:::-;;;;;;;:18;;;7898:9;7908:1;7898:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;7898:33:18;;;:12;;;;;;;;;;;:33;7888:3;;;;:::i;:::-;;;;7849:87;;;;7947:62;7960:9;7971:11;7984:9;7947:62;;;;;;;;;;;;;-1:-1:-1;;;7947:62:18;;;:12;:62::i;:::-;7940:69;;;;;;;;5999:2014;;;;;:::o;10827:333::-;10917:12;10943:22;:20;:22::i;:::-;10935:31;;;;;;11048:20;11071:67;11103:5;11071:67;;;;;;;;;;;;;-1:-1:-1;;;11071:67:18;;;:31;:67::i;:::-;11048:90;10827:333;-1:-1:-1;;;;10827:333:18:o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;10548:276::-;10641:16;;:::i;:::-;10659:12;10682:40;10703:3;:6;;;10711:10;10682:40;;;;;;;:::i;:::-;;;;;;;;10731:61;10740:3;:6;;;10748:3;:23;;;10773:3;:18;;;10731:61;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;10804:3:18;;-1:-1:-1;10809:10:18;10548:276;;;;;;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;9764:781::-;9913:16;;:::i;:::-;9983;;;9997:1;9983:16;;;9931:12;9983:16;;;;;9931:12;9949:31;;9983:16;9997:1;9983:16;;;;;;;;;;-1:-1:-1;9983:16:18;9949:50;;10031:4;10003:14;10018:1;10003:17;;;;;;;;:::i;:::-;;;;;;:33;-1:-1:-1;;;;;10003:33:18;;;-1:-1:-1;;;;;10003:33:18;;;;;858:42:14;10040:14:18;10055:1;10040:17;;;;;;;;:::i;:::-;;;;;;:41;-1:-1:-1;;;;;10040:41:18;;;-1:-1:-1;;;;;10040:41:18;;;;;10086:25;10114:82;10127:11;10140:14;10156;10114:82;;;;;;;;;;;;;-1:-1:-1;;;10114:82:18;;;:12;:82::i;:::-;10086:110;;10200:84;10229:8;:11;;;10200:84;;;;;;;;;;;;;-1:-1:-1;;;10200:84:18;;;10278:4;10267:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;10200:28;:84::i;:::-;10293:23;10318:20;10342:54;10362:9;10373:8;:11;;;10386:9;10342:19;:54::i;:::-;10292:104;;;;10400:79;10429:8;:11;;;10400:79;;;;;;;;;;;;;-1:-1:-1;;;10400:79:18;;;10471:7;10400:28;:79::i;:::-;-1:-1:-1;10520:8:18;;;;-1:-1:-1;9764:781:18;-1:-1:-1;;;;;;9764:781:18:o;5720:276::-;5818:20;;;-1:-1:-1;;;;;;26426:52:20;;;5818:20:18;;;26414:65:20;5818:20:18;;;;;;;;;26495:12:20;;;5818:20:18;;26426:52:20;;;5859:20:18;;;26414:65:20;5859:20:18;;;;;;;;;26495:12:20;;;;5859:20:18;;;5791:4;;5818:20;5791:4;5883:94;5904:1;:8;5900:1;:12;5883:94;;;5943:1;5945;5943:4;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5928:19:18;;5934:1;5937;5928:11;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;5928:11:18;:19;5924:49;;5962:5;5955:12;;;;;;;5924:49;5914:3;;;;:::i;:::-;;;;5883:94;;;-1:-1:-1;5988:4:18;;5720:276;-1:-1:-1;;;;;5720:276:18:o;8016:1186::-;8114:12;8140:22;:20;:22::i;:::-;8132:31;;;;;;8168:26;8197:53;8213:11;8197:53;;;;;;;;;;;;;-1:-1:-1;;;8197:53:18;;;:15;:53::i;:::-;8168:82;;8258:7;:14;8276:1;8258:19;8254:88;;8320:4;8291:46;;-1:-1:-1;;;8291:46:18;;;;;;;;:::i;8254:88::-;8346:29;8395:7;:14;-1:-1:-1;;;;;8378:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;8378:32:18;;;;;;;;;;;;;;;;8346:64;;8419:6;8414:258;8435:7;:14;8431:1;:18;8414:258;;;8461:23;8487:80;8519:7;8527:1;8519:10;;;;;;;;:::i;:::-;;;;;;;:13;;;8487:80;;;;;;;;;;;;;;;;;:31;:80::i;:::-;8461:106;;8572:10;8596;8585:32;;;;;;;;;;;;:::i;:::-;8572:45;;8637:30;;;;;;;;8648:3;-1:-1:-1;;;;;8637:30:18;;;;;8653:7;8661:1;8653:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;8637:30:18;;;;;8622:9;8632:1;8622:12;;;;;;;;:::i;:::-;;;;;;:45;;;;8456:216;;8451:3;;;;;:::i;:::-;;;;8414:258;;;-1:-1:-1;8717:16:18;;8708:6;8737:238;8758:5;8762:1;8758;:5;:::i;:::-;8754:1;:9;8737:238;;;8780:6;8789:5;:1;8793;8789:5;:::i;:::-;8780:14;;8775:196;8800:1;8796;:5;8775:196;;;8837:9;8847:1;8837:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;:9;8828:1;8818:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;;8814:152;;;8862:22;8887:9;8897:1;8887:12;;;;;;;;:::i;:::-;;;;;;;8862:37;;8921:9;8931:1;8921:12;;;;;;;;:::i;:::-;;;;;;;8906:9;8916:1;8906:12;;;;;;;;:::i;:::-;;;;;;:27;;;;8955:4;8940:9;8950:1;8940:12;;;;;;;;:::i;:::-;;;;;;:19;;;;8855:111;8814:152;8803:3;;;;:::i;:::-;;;;8775:196;;;-1:-1:-1;8765:3:18;;;;:::i;:::-;;;;8737:238;;;;8979:30;9030:7;:14;-1:-1:-1;;;;;9012:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9012:33:18;;8979:66;;9054:6;9049:87;9070:9;:16;9066:1;:20;9049:87;;;9113:9;9123:1;9113:12;;;;;;;;:::i;:::-;;;;;;;:18;;;9098:9;9108:1;9098:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;9098:33:18;;;:12;;;;;;;;;;;:33;9088:3;;;;:::i;:::-;;;;9049:87;;;;9147:51;9160:9;9171:11;9184:9;9147:51;;;;;;;;;;;;:12;:51::i;:::-;9140:58;8016:1186;-1:-1:-1;;;;;;;8016:1186:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;2248:103::-;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;4684:327::-;4764:12;4789;4803:17;1413:42;-1:-1:-1;;;;;4824:21:14;4857:4;4863:9;4846:27;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4846:27:14;;;;;;;;;;4824:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4788:86;;;;4889:7;4884:78;;1413:42;4946:4;4919:32;;-1:-1:-1;;;4919:32:14;;;;;;;;;:::i;4884:78::-;4990:4;4979:25;;;;;;;;;;;;:::i;:::-;4972:32;4684:327;-1:-1:-1;;;;;4684:327:14:o;3339:345::-;3429:12;3454;3468:17;1056:42;-1:-1:-1;;;;;3489:38:14;3539:5;3546:3;3528:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3528:22:14;;;;;;;;;;3489:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3453:98;;;;3566:7;3561:95;;1056:42;3640:4;3596:49;;-1:-1:-1;;;3596:49:14;;;;;;;;;:::i;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;5360:486::-;5553:10;;:::i;:::-;5576:12;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;2610:435::-;2751:12;2765;2794;2808:17;858:42;-1:-1:-1;;;;;2829:26:14;2867:9;2878:5;2885:9;2856:39;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2856:39:14;;;;;;;;;;2829:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2793:103;;;;2911:7;2906:83;;858:42;2973:4;2941:37;;-1:-1:-1;;;2941:37:14;;;;;;;;;:::i;2906:83::-;3017:4;3006:32;;;;;;;;;;;;:::i;:::-;2999:39;;;;;;2610:435;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:20;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:255::-;476:2;470:9;518:6;506:19;;-1:-1:-1;;;;;540:34:20;;576:22;;;537:62;534:88;;;602:18;;:::i;664:253::-;736:2;730:9;778:4;766:17;;-1:-1:-1;;;;;798:34:20;;834:22;;;795:62;792:88;;;860:18;;:::i;922:275::-;993:2;987:9;1058:2;1039:13;;-1:-1:-1;;1035:27:20;1023:40;;-1:-1:-1;;;;;1078:34:20;;1114:22;;;1075:62;1072:88;;;1140:18;;:::i;:::-;1176:2;1169:22;922:275;;-1:-1:-1;922:275:20:o;1202:129::-;-1:-1:-1;;;;;1280:5:20;1276:30;1269:5;1266:41;1256:69;;1321:1;1318;1311:12;1256:69;1202:129;:::o;1336:132::-;1403:20;;1432:30;1403:20;1432:30;:::i;:::-;1336:132;;;:::o;1473:186::-;1521:4;-1:-1:-1;;;;;1546:6:20;1543:30;1540:56;;;1576:18;;:::i;:::-;-1:-1:-1;1642:2:20;1621:15;-1:-1:-1;;1617:29:20;1648:4;1613:40;;1473:186::o;1664:462::-;1706:5;1759:3;1752:4;1744:6;1740:17;1736:27;1726:55;;1777:1;1774;1767:12;1726:55;1813:6;1800:20;1844:48;1860:31;1888:2;1860:31;:::i;:::-;1844:48;:::i;:::-;1917:2;1908:7;1901:19;1963:3;1956:4;1951:2;1943:6;1939:15;1935:26;1932:35;1929:55;;;1980:1;1977;1970:12;1929:55;2045:2;2038:4;2030:6;2026:17;2019:4;2010:7;2006:18;1993:55;2093:1;2068:16;;;2086:4;2064:27;2057:38;;;;2072:7;1664:462;-1:-1:-1;;;1664:462:20:o;2131:131::-;-1:-1:-1;;;;;2206:31:20;;2196:42;;2186:70;;2252:1;2249;2242:12;2267:134;2335:20;;2364:31;2335:20;2364:31;:::i;2406:193::-;2476:4;-1:-1:-1;;;;;2501:6:20;2498:30;2495:56;;;2531:18;;:::i;:::-;-1:-1:-1;2576:1:20;2572:14;2588:4;2568:25;;2406:193::o;2604:1452::-;2668:5;2721:3;2714:4;2706:6;2702:17;2698:27;2688:55;;2739:1;2736;2729:12;2688:55;2775:6;2762:20;2801:4;2825:70;2841:53;2891:2;2841:53;:::i;2825:70::-;2929:15;;;3015:1;3011:10;;;;2999:23;;2995:32;;;2960:12;;;;3039:15;;;3036:35;;;3067:1;3064;3057:12;3036:35;3103:2;3095:6;3091:15;3115:912;3131:6;3126:3;3123:15;3115:912;;;3209:4;3203:3;3198;3194:13;3190:24;3187:114;;;3255:1;3284:2;3280;3273:14;3187:114;3327:22;;:::i;:::-;3390:3;3377:17;3407:32;3431:7;3407:32;:::i;:::-;3452:22;;3515:12;;;3502:26;3541:32;3502:26;3541:32;:::i;:::-;3593:14;;;3586:31;3640:2;3683:12;;;3670:26;3709:33;3670:26;3709:33;:::i;:::-;3762:14;;;3755:31;3809:2;3852:12;;;3839:26;3878:32;3839:26;3878:32;:::i;:::-;3930:14;;;3923:31;3967:18;;4005:12;;;;3157:4;3148:14;3115:912;;;-1:-1:-1;4045:5:20;2604:1452;-1:-1:-1;;;;;;2604:1452:20:o;4061:997::-;4122:5;4170:6;4158:9;4153:3;4149:19;4145:32;4142:52;;;4190:1;4187;4180:12;4142:52;4212:22;;:::i;:::-;4203:31;;4257:28;4275:9;4257:28;:::i;:::-;4250:5;4243:43;4337:2;4326:9;4322:18;4309:32;-1:-1:-1;;;;;4401:2:20;4393:6;4390:14;4387:34;;;4417:1;4414;4407:12;4387:34;4453:45;4494:3;4485:6;4474:9;4470:22;4453:45;:::i;:::-;4448:2;4441:5;4437:14;4430:69;4559:2;4548:9;4544:18;4531:32;4526:2;4519:5;4515:14;4508:56;4596:37;4629:2;4618:9;4614:18;4596:37;:::i;:::-;4591:2;4584:5;4580:14;4573:61;4667:39;4701:3;4690:9;4686:19;4667:39;:::i;:::-;4661:3;4654:5;4650:15;4643:64;4740:38;4773:3;4762:9;4758:19;4740:38;:::i;:::-;4734:3;4727:5;4723:15;4716:63;4840:3;4829:9;4825:19;4812:33;4806:3;4799:5;4795:15;4788:58;4899:3;4888:9;4884:19;4871:33;4855:49;;4929:2;4919:8;4916:16;4913:36;;;4945:1;4942;4935:12;4913:36;;4982:69;5047:3;5036:8;5025:9;5021:24;4982:69;:::i;:::-;4976:3;4969:5;4965:15;4958:94;;4061:997;;;;:::o;5063:170::-;-1:-1:-1;;;;;;5157:51:20;;5147:62;;5137:90;;5223:1;5220;5213:12;5238:172;5325:20;;5354:50;5325:20;5354:50;:::i;5415:1620::-;5595:6;5603;5611;5619;5672:3;5660:9;5651:7;5647:23;5643:33;5640:53;;;5689:1;5686;5679:12;5640:53;5729:9;5716:23;-1:-1:-1;;;;;5799:2:20;5791:6;5788:14;5785:34;;;5815:1;5812;5805:12;5785:34;5838:65;5895:7;5886:6;5875:9;5871:22;5838:65;:::i;:::-;5828:75;;5922:2;5912:12;;5974:2;5963:9;5959:18;5946:32;5987:30;6011:5;5987:30;:::i;:::-;6036:5;-1:-1:-1;6094:2:20;6079:18;;6066:32;6110:16;;;6107:36;;;6139:1;6136;6129:12;6107:36;6162:24;;6217:4;6209:13;;6205:27;-1:-1:-1;6195:55:20;;6246:1;6243;6236:12;6195:55;6282:2;6269:16;6305:70;6321:53;6371:2;6321:53;:::i;6305:70::-;6409:15;;;6491:1;6487:10;;;;6479:19;;6475:28;;;6440:12;;;;6515:19;;;6512:39;;;6547:1;6544;6537:12;6512:39;6571:11;;;;6591:242;6607:6;6602:3;6599:15;6591:242;;;6689:3;6676:17;6706:52;6750:7;6706:52;:::i;:::-;6771:20;;6624:12;;;;6811;;;;6591:242;;;6852:5;-1:-1:-1;;;;6910:2:20;6895:18;;6882:32;;-1:-1:-1;6926:16:20;;;6923:36;;;6955:1;6952;6945:12;6923:36;;6978:51;7021:7;7010:8;6999:9;6995:24;6978:51;:::i;:::-;6968:61;;;5415:1620;;;;;;;:::o;7040:250::-;7125:1;7135:113;7149:6;7146:1;7143:13;7135:113;;;7225:11;;;7219:18;7206:11;;;7199:39;7171:2;7164:10;7135:113;;;-1:-1:-1;;7282:1:20;7264:16;;7257:27;7040:250::o;7295:270::-;7336:3;7374:5;7368:12;7401:6;7396:3;7389:19;7417:76;7486:6;7479:4;7474:3;7470:14;7463:4;7456:5;7452:16;7417:76;:::i;:::-;7547:2;7526:15;-1:-1:-1;;7522:29:20;7513:39;;;;7554:4;7509:50;;7295:270;-1:-1:-1;;7295:270:20:o;7570:217::-;7717:2;7706:9;7699:21;7680:4;7737:44;7777:2;7766:9;7762:18;7754:6;7737:44;:::i;:::-;7729:52;7570:217;-1:-1:-1;;;7570:217:20:o;7792:493::-;7892:6;7900;7953:2;7941:9;7932:7;7928:23;7924:32;7921:52;;;7969:1;7966;7959:12;7921:52;8009:9;7996:23;-1:-1:-1;;;;;8034:6:20;8031:30;8028:50;;;8074:1;8071;8064:12;8028:50;8097:65;8154:7;8145:6;8134:9;8130:22;8097:65;:::i;:::-;8087:75;;;8212:2;8201:9;8197:18;8184:32;8225:30;8249:5;8225:30;:::i;:::-;8274:5;8264:15;;;7792:493;;;;;:::o;8290:501::-;8394:6;8402;8455:2;8443:9;8434:7;8430:23;8426:32;8423:52;;;8471:1;8468;8461:12;8423:52;8510:9;8497:23;8529:50;8573:5;8529:50;:::i;:::-;8598:5;-1:-1:-1;8654:2:20;8639:18;;8626:32;-1:-1:-1;;;;;8670:30:20;;8667:50;;;8713:1;8710;8703:12;8667:50;8736:49;8777:7;8768:6;8757:9;8753:22;8736:49;:::i;:::-;8726:59;;;8290:501;;;;;:::o;8796:747::-;8850:5;8903:3;8896:4;8888:6;8884:17;8880:27;8870:55;;8921:1;8918;8911:12;8870:55;8957:6;8944:20;8983:4;9007:70;9023:53;9073:2;9023:53;:::i;9007:70::-;9111:15;;;9197:1;9193:10;;;;9181:23;;9177:32;;;9142:12;;;;9221:15;;;9218:35;;;9249:1;9246;9239:12;9218:35;9285:2;9277:6;9273:15;9297:217;9313:6;9308:3;9305:15;9297:217;;;9393:3;9380:17;9410:31;9435:5;9410:31;:::i;:::-;9454:18;;9492:12;;;;9330;;9297:217;;9548:1404;9647:6;9655;9708:2;9696:9;9687:7;9683:23;9679:32;9676:52;;;9724:1;9721;9714:12;9676:52;9764:9;9751:23;-1:-1:-1;;;;;9834:2:20;9826:6;9823:14;9820:34;;;9850:1;9847;9840:12;9820:34;9873:22;;;;9929:4;9911:16;;;9907:27;9904:47;;;9947:1;9944;9937:12;9904:47;9973:22;;:::i;:::-;10018:41;10056:2;10018:41;:::i;:::-;10011:5;10004:56;10092:50;10138:2;10134;10130:11;10092:50;:::i;:::-;10087:2;10080:5;10076:14;10069:74;10175:30;10201:2;10197;10193:11;10175:30;:::i;:::-;10170:2;10163:5;10159:14;10152:54;10252:2;10248;10244:11;10231:25;10281:2;10271:8;10268:16;10265:36;;;10297:1;10294;10287:12;10265:36;10333:56;10381:7;10370:8;10366:2;10362:17;10333:56;:::i;:::-;10328:2;10321:5;10317:14;10310:80;;10436:3;10432:2;10428:12;10415:26;10466:2;10456:8;10453:16;10450:36;;;10482:1;10479;10472:12;10450:36;10519:56;10567:7;10556:8;10552:2;10548:17;10519:56;:::i;:::-;10513:3;10506:5;10502:15;10495:81;;10622:3;10618:2;10614:12;10601:26;10652:2;10642:8;10639:16;10636:36;;;10668:1;10665;10658:12;10636:36;10705:44;10741:7;10730:8;10726:2;10722:17;10705:44;:::i;:::-;10699:3;10688:15;;10681:69;-1:-1:-1;10692:5:20;-1:-1:-1;10827:2:20;10812:18;;10799:32;;-1:-1:-1;10843:16:20;;;10840:36;;;10872:1;10869;10862:12;10840:36;;10895:51;10938:7;10927:8;10916:9;10912:24;10895:51;:::i;11064:461::-;11117:3;11155:5;11149:12;11182:6;11177:3;11170:19;11208:4;11237:2;11232:3;11228:12;11221:19;;11274:2;11267:5;11263:14;11295:1;11305:195;11319:6;11316:1;11313:13;11305:195;;;11384:13;;-1:-1:-1;;;;;11380:39:20;11368:52;;11440:12;;;;11475:15;;;;11416:1;11334:9;11305:195;;;-1:-1:-1;11516:3:20;;11064:461;-1:-1:-1;;;;;11064:461:20:o;11530:1191::-;11749:2;11738:9;11731:21;11712:4;-1:-1:-1;;;;;11771:39:20;11865:2;11856:6;11850:13;11846:22;11841:2;11830:9;11826:18;11819:50;11935:2;11927:4;11919:6;11915:17;11909:24;11905:33;11900:2;11889:9;11885:18;11878:61;;-1:-1:-1;;;;;11998:2:20;11990:6;11986:15;11980:22;11976:47;11970:3;11959:9;11955:19;11948:76;12071:2;12063:6;12059:15;12053:22;12112:4;12106:3;12095:9;12091:19;12084:33;12140:63;12198:3;12187:9;12183:19;12169:12;12140:63;:::i;:::-;12126:77;;12252:3;12244:6;12240:16;12234:23;12280:2;12276:7;12349:2;12337:9;12329:6;12325:22;12321:31;12314:4;12303:9;12299:20;12292:61;12376:52;12421:6;12405:14;12376:52;:::i;:::-;12362:66;;12477:3;12469:6;12465:16;12459:23;12437:45;;12547:2;12535:9;12527:6;12523:22;12519:31;12513:3;12502:9;12498:19;12491:60;;12571:40;12604:6;12588:14;12571:40;:::i;:::-;12560:51;;;12658:9;12653:3;12649:19;12642:4;12631:9;12627:20;12620:49;12686:29;12711:3;12703:6;12686:29;:::i;12726:384::-;12809:6;12862:2;12850:9;12841:7;12837:23;12833:32;12830:52;;;12878:1;12875;12868:12;12830:52;12918:9;12905:23;-1:-1:-1;;;;;12943:6:20;12940:30;12937:50;;;12983:1;12980;12973:12;12937:50;13006:22;;13062:3;13044:16;;;13040:26;13037:46;;;13079:1;13076;13069:12;13115:480;13237:6;13245;13298:2;13286:9;13277:7;13273:23;13269:32;13266:52;;;13314:1;13311;13304:12;13266:52;13353:9;13340:23;13372:50;13416:5;13372:50;:::i;:::-;13441:5;-1:-1:-1;13498:2:20;13483:18;;13470:32;13511:52;13470:32;13511:52;:::i;13792:786::-;13855:3;13893:5;13887:12;13920:6;13915:3;13908:19;13946:4;13975:2;13970:3;13966:12;13959:19;;14012:2;14005:5;14001:14;14033:1;14043:510;14057:6;14054:1;14051:13;14043:510;;;14116:13;;14199:9;;-1:-1:-1;;;;;14195:18:20;;;14183:31;;14258:11;;;14252:18;14248:27;;14234:12;;;14227:49;14299:4;14347:11;;;14341:18;-1:-1:-1;;;;;14337:44:20;14323:12;;;14316:66;14405:4;14453:11;;;14447:18;14443:27;14429:12;;;14422:49;14500:4;14491:14;;;;14528:15;;;;14378:1;14072:9;14043:510;;14583:877;14640:3;14668:6;-1:-1:-1;;;;;14750:2:20;14742:5;14736:12;14732:21;14727:3;14720:34;14800:4;14793:5;14789:16;14783:23;14838:2;14831:4;14826:3;14822:14;14815:26;14862:44;14902:2;14897:3;14893:12;14879;14862:44;:::i;:::-;14850:56;;;14955:4;14948:5;14944:16;14938:23;14931:4;14926:3;14922:14;14915:47;15023:2;15015:4;15008:5;15004:16;14998:23;14994:32;14987:4;14982:3;14978:14;14971:56;;15105:1;15101;15096:3;15092:11;15088:19;15080:4;15073:5;15069:16;15063:23;15059:49;15052:4;15047:3;15043:14;15036:73;15157:4;15150:5;15146:16;15140:23;15172:49;15215:4;15210:3;15206:14;15190;-1:-1:-1;;;;;11022:30:20;11010:43;;10957:102;15172:49;;15270:4;15263:5;15259:16;15253:23;15246:4;15241:3;15237:14;15230:47;15325:4;15318:5;15314:16;15308:23;15373:3;15367:4;15363:14;15356:4;15351:3;15347:14;15340:38;15394:60;15449:4;15433:14;15394:60;:::i;15465:500::-;15537:3;15575:5;15569:12;15602:6;15597:3;15590:19;15628:4;15657:2;15652:3;15648:12;15641:19;;15694:2;15687:5;15683:14;15715:1;15725:215;15739:6;15736:1;15733:13;15725:215;;;15804:13;;-1:-1:-1;;;;;;15800:59:20;15788:72;;15880:12;;;;15915:15;;;;15761:1;15754:9;15725:215;;15970:789;16344:3;16333:9;16326:22;16307:4;16371:61;16427:3;16416:9;16412:19;16404:6;16371:61;:::i;:::-;-1:-1:-1;;;;;16472:6:20;16468:31;16463:2;16452:9;16448:18;16441:59;16548:9;16540:6;16536:22;16531:2;16520:9;16516:18;16509:50;16582:63;16638:6;16630;16582:63;:::i;:::-;16568:77;;16693:9;16685:6;16681:22;16676:2;16665:9;16661:18;16654:50;16721:32;16746:6;16738;16721:32;:::i;16764:176::-;16862:13;;16884:50;16862:13;16884:50;:::i;16945:136::-;17023:13;;17045:30;17023:13;17045:30;:::i;17086:744::-;17151:5;17204:3;17197:4;17189:6;17185:17;17181:27;17171:55;;17222:1;17219;17212:12;17171:55;17251:6;17245:13;17277:4;17301:70;17317:53;17367:2;17317:53;:::i;17301:70::-;17405:15;;;17491:1;17487:10;;;;17475:23;;17471:32;;;17436:12;;;;17515:15;;;17512:35;;;17543:1;17540;17533:12;17512:35;17579:2;17571:6;17567:15;17591:210;17607:6;17602:3;17599:15;17591:210;;;17680:3;17674:10;17697:31;17722:5;17697:31;:::i;:::-;17741:18;;17779:12;;;;17624;;17591:210;;17835:442;17889:5;17942:3;17935:4;17927:6;17923:17;17919:27;17909:55;;17960:1;17957;17950:12;17909:55;17989:6;17983:13;18020:48;18036:31;18064:2;18036:31;:::i;18020:48::-;18093:2;18084:7;18077:19;18139:3;18132:4;18127:2;18119:6;18115:15;18111:26;18108:35;18105:55;;;18156:1;18153;18146:12;18105:55;18169:77;18243:2;18236:4;18227:7;18223:18;18216:4;18208:6;18204:17;18169:77;:::i;18282:1060::-;18343:5;18391:4;18379:9;18374:3;18370:19;18366:30;18363:50;;;18409:1;18406;18399:12;18363:50;18431:22;;:::i;:::-;18422:31;;18476:59;18525:9;18476:59;:::i;:::-;18469:5;18462:74;18568:68;18632:2;18621:9;18617:18;18568:68;:::i;:::-;18563:2;18556:5;18552:14;18545:92;18669:48;18713:2;18702:9;18698:18;18669:48;:::i;:::-;18664:2;18657:5;18653:14;18646:72;18762:2;18751:9;18747:18;18741:25;-1:-1:-1;;;;;18826:2:20;18818:6;18815:14;18812:34;;;18842:1;18839;18832:12;18812:34;18878:68;18942:3;18933:6;18922:9;18918:22;18878:68;:::i;:::-;18873:2;18866:5;18862:14;18855:92;18993:3;18982:9;18978:19;18972:26;18956:42;;19023:2;19013:8;19010:16;19007:36;;;19039:1;19036;19029:12;19007:36;19076:70;19142:3;19131:8;19120:9;19116:24;19076:70;:::i;:::-;19070:3;19063:5;19059:15;19052:95;19193:3;19182:9;19178:19;19172:26;19156:42;;19223:2;19213:8;19210:16;19207:36;;;19239:1;19236;19229:12;19207:36;;19276:59;19331:3;19320:8;19309:9;19305:24;19276:59;:::i;:::-;19270:3;19263:5;19259:15;19252:84;;18282:1060;;;;:::o;19347:577::-;19457:6;19465;19518:2;19506:9;19497:7;19493:23;19489:32;19486:52;;;19534:1;19531;19524:12;19486:52;19567:9;19561:16;-1:-1:-1;;;;;19637:2:20;19629:6;19626:14;19623:34;;;19653:1;19650;19643:12;19623:34;19676:65;19733:7;19724:6;19713:9;19709:22;19676:65;:::i;:::-;19666:75;;19787:2;19776:9;19772:18;19766:25;19750:41;;19816:2;19806:8;19803:16;19800:36;;;19832:1;19829;19822:12;19800:36;;19855:63;19910:7;19899:8;19888:9;19884:24;19855:63;:::i;19929:361::-;-1:-1:-1;;;;;20143:39:20;20135:6;20131:52;20120:9;20113:71;20220:2;20215;20204:9;20200:18;20193:30;20094:4;20240:44;20280:2;20269:9;20265:18;20257:6;20240:44;:::i;20295:499::-;-1:-1:-1;;;;;20567:39:20;20559:6;20555:52;20544:9;20537:71;-1:-1:-1;;;;;20648:6:20;20644:31;20639:2;20628:9;20624:18;20617:59;20712:2;20707;20696:9;20692:18;20685:30;20518:4;20732:56;20784:2;20773:9;20769:18;20761:6;20732:56;:::i;20799:384::-;-1:-1:-1;;;;;;20984:33:20;;20972:46;;21041:13;;20954:3;;21063:74;21041:13;21126:1;21117:11;;21110:4;21098:17;;21063:74;:::i;:::-;21157:16;;;;21175:1;21153:24;;20799:384;-1:-1:-1;;;20799:384:20:o;21188:427::-;-1:-1:-1;;;;;21417:32:20;;;;21399:51;;21486:2;21481;21466:18;;21459:30;;;21525:1;21505:18;;;21498:29;-1:-1:-1;;;21558:2:20;21543:18;;21536:37;21605:3;21590:19;;21188:427::o;21620:127::-;21681:10;21676:3;21672:20;21669:1;21662:31;21712:4;21709:1;21702:15;21736:4;21733:1;21726:15;21752:1012;21874:6;21905:2;21948;21936:9;21927:7;21923:23;21919:32;21916:52;;;21964:1;21961;21954:12;21916:52;21997:9;21991:16;-1:-1:-1;;;;;22022:6:20;22019:30;22016:50;;;22062:1;22059;22052:12;22016:50;22085:22;;22138:4;22130:13;;22126:27;-1:-1:-1;22116:55:20;;22167:1;22164;22157:12;22116:55;22196:2;22190:9;22219:70;22235:53;22285:2;22235:53;:::i;22219:70::-;22323:15;;;22405:1;22401:10;;;;22393:19;;22389:28;;;22354:12;;;;22429:19;;;22426:39;;;22461:1;22458;22451:12;22426:39;22485:11;;;;22505:229;22521:6;22516:3;22513:15;22505:229;;;22594:3;22588:10;22611:50;22655:5;22611:50;:::i;:::-;22674:18;;22538:12;;;;22712;;;;22505:229;;22769:127;22830:10;22825:3;22821:20;22818:1;22811:31;22861:4;22858:1;22851:15;22885:4;22882:1;22875:15;22901:135;22940:3;22961:17;;;22958:43;;22981:18;;:::i;:::-;-1:-1:-1;23028:1:20;23017:13;;22901:135::o;23041:249::-;23110:6;23163:2;23151:9;23142:7;23138:23;23134:32;23131:52;;;23179:1;23176;23169:12;23131:52;23211:9;23205:16;23230:30;23254:5;23230:30;:::i;23295:128::-;23362:9;;;23383:11;;;23380:37;;;23397:18;;:::i;23428:125::-;23493:9;;;23514:10;;;23511:36;;;23527:18;;:::i;23558:336::-;23637:6;23690:2;23678:9;23669:7;23665:23;23661:32;23658:52;;;23706:1;23703;23696:12;23658:52;23739:9;23733:16;-1:-1:-1;;;;;23764:6:20;23761:30;23758:50;;;23804:1;23801;23794:12;23758:50;23827:61;23880:7;23871:6;23860:9;23856:22;23827:61;:::i;23899:293::-;23985:6;24038:2;24026:9;24017:7;24013:23;24009:32;24006:52;;;24054:1;24051;24044:12;24006:52;24093:9;24080:23;24112:50;24156:5;24112:50;:::i;24197:245::-;24255:6;24308:2;24296:9;24287:7;24283:23;24279:32;24276:52;;;24324:1;24321;24314:12;24276:52;24363:9;24350:23;24382:30;24406:5;24382:30;:::i;24447:545::-;24540:4;24546:6;24606:11;24593:25;24700:2;24696:7;24685:8;24669:14;24665:29;24661:43;24641:18;24637:68;24627:96;;24719:1;24716;24709:12;24627:96;24746:33;;24798:20;;;-1:-1:-1;;;;;;24830:30:20;;24827:50;;;24873:1;24870;24863:12;24827:50;24906:4;24894:17;;-1:-1:-1;24957:1:20;24953:14;;;24937;24933:35;24923:46;;24920:66;;;24982:1;24979;24972:12;24997:944;25230:4;25278:2;25267:9;25263:18;-1:-1:-1;;;;;25320:39:20;25312:6;25308:52;25297:9;25290:71;25380:2;-1:-1:-1;;;;;25422:6:20;25418:31;25413:2;25402:9;25398:18;25391:59;25486:2;25481;25470:9;25466:18;25459:30;25509:6;25539;25531;25524:22;25577:3;25566:9;25562:19;25555:26;;25604:6;25590:20;;25628:1;25638:277;25652:6;25649:1;25646:13;25638:277;;;25727:6;25714:20;25747:31;25772:5;25747:31;:::i;:::-;-1:-1:-1;;;;;25803:31:20;25791:44;;25890:15;;;;25855:12;;;;25831:1;25667:9;25638:277;;;-1:-1:-1;25932:3:20;24997:944;-1:-1:-1;;;;;;;;24997:944:20:o;25946:307::-;26152:2;26141:9;26134:21;26115:4;26172:75;26243:2;26232:9;26228:18;26220:6;26172:75;:::i;26728:314::-;-1:-1:-1;;;;;26903:32:20;;26885:51;;26972:2;26967;26952:18;;26945:30;;;-1:-1:-1;;26992:44:20;;27017:18;;27009:6;26992:44;:::i;27047:313::-;-1:-1:-1;;;;;27226:6:20;27222:31;27211:9;27204:50;27290:2;27285;27274:9;27270:18;27263:30;27185:4;27310:44;27350:2;27339:9;27335:18;27327:6;27310:44;:::i;27365:287::-;27494:3;27532:6;27526:13;27548:66;27607:6;27602:3;27595:4;27587:6;27583:17;27548:66;:::i;:::-;27630:16;;;;;27365:287;-1:-1:-1;;27365:287:20:o;27657:1160::-;27774:6;27805:2;27848;27836:9;27827:7;27823:23;27819:32;27816:52;;;27864:1;27861;27854:12;27816:52;27897:9;27891:16;-1:-1:-1;;;;;27967:2:20;27959:6;27956:14;27953:34;;;27983:1;27980;27973:12;27953:34;28021:6;28010:9;28006:22;27996:32;;28066:7;28059:4;28055:2;28051:13;28047:27;28037:55;;28088:1;28085;28078:12;28037:55;28117:2;28111:9;28140:70;28156:53;28206:2;28156:53;:::i;28140:70::-;28244:15;;;28326:1;28322:10;;;;28314:19;;28310:28;;;28275:12;;;;28350:19;;;28347:39;;;28382:1;28379;28372:12;28347:39;28414:2;28410;28406:11;28426:361;28442:6;28437:3;28434:15;28426:361;;;28521:3;28515:10;28557:2;28544:11;28541:19;28538:109;;;28601:1;28630:2;28626;28619:14;28538:109;28672:72;28736:7;28731:2;28717:11;28713:2;28709:20;28705:29;28672:72;:::i;:::-;28660:85;;-1:-1:-1;28765:12:20;;;;28459;;28426:361;;29190:723;-1:-1:-1;;;;;29525:6:20;29521:31;29510:9;29503:50;29589:3;29584:2;29573:9;29569:18;29562:31;29484:4;29616:57;29668:3;29657:9;29653:19;29645:6;29616:57;:::i;:::-;29721:9;29713:6;29709:22;29704:2;29693:9;29689:18;29682:50;29755:44;29792:6;29784;29755:44;:::i;29918:353::-;30010:6;30063:2;30051:9;30042:7;30038:23;30034:32;30031:52;;;30079:1;30076;30069:12;30031:52;30112:9;30106:16;-1:-1:-1;;;;;30137:6:20;30134:30;30131:50;;;30177:1;30174;30167:12;30131:50;30200:65;30257:7;30248:6;30237:9;30233:22;30200:65;:::i;30276:523::-;-1:-1:-1;;;;;30538:39:20;30530:6;30526:52;30515:9;30508:71;30615:2;30610;30599:9;30595:18;30588:30;30489:4;30641:44;30681:2;30670:9;30666:18;30658:6;30641:44;:::i;:::-;30733:9;30725:6;30721:22;30716:2;30705:9;30701:18;30694:50;30761:32;30786:6;30778;30761:32;:::i;:::-;30753:40;30276:523;-1:-1:-1;;;;;;30276:523:20:o;30804:587::-;31102:2;31091:9;31084:21;31065:4;31128:60;31184:2;31173:9;31169:18;31161:6;31128:60;:::i;:::-;-1:-1:-1;;;;;;31224:52:20;;31219:2;31204:18;;31197:80;31313:22;;;31308:2;31293:18;;31286:50;31353:32;31317:6;31370;31353:32;:::i;31396:560::-;31493:6;31501;31554:2;31542:9;31533:7;31529:23;31525:32;31522:52;;;31570:1;31567;31560:12;31522:52;31603:9;31597:16;-1:-1:-1;;;;;31673:2:20;31665:6;31662:14;31659:34;;;31689:1;31686;31679:12;31659:34;31712:61;31765:7;31756:6;31745:9;31741:22;31712:61;:::i", + "linkReferences": {} }, - "bytecode": { - "object": "0x608060405234801561001057600080fd5b506125db806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "buildAndEmit((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "4c8820f8", + "buildFromPool((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "ebb89de4", + "buildMevShare((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "54dfbd39", + "doBuild((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "c2eceb11", + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "emitBuilderBidAndBid((bytes16,bytes16,uint64,address[],address[],string),bytes)": "b33e4715", + "fetchBidConfidentialBundleData()": "92f07a58", + "idsEqual(bytes16,bytes16)": "e829cd5d", + "unlock(bytes16,bytes)": "7df1cde2" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"BuilderBoostBidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"buildAndEmit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildFromPool\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildMevShare\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"doBuild\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"emitBuilderBidAndBid\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"_l\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"_r\",\"type\":\"bytes16\"}],\"name\":\"idsEqual\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"bytes\",\"name\":\"signedBlindedHeader\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"EthBlockBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "bytes", + "name": "builderBid", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "BuilderBoostBidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + }, + { + "internalType": "Suave.BidId[]", + "name": "bids", + "type": "bytes16[]" + }, + { + "internalType": "string", + "name": "namespace", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "buildAndEmit", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "buildFromPool", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "buildMevShare", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + }, + { + "internalType": "Suave.BidId[]", + "name": "bids", + "type": "bytes16[]" + }, + { + "internalType": "string", + "name": "namespace", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "doBuild", + "outputs": [ + { + "internalType": "struct Suave.Bid", + "name": "", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "builderBid", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBuilderBidAndBid", + "outputs": [ + { + "internalType": "struct Suave.Bid", + "name": "", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "_l", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "_r", + "type": "bytes16" + } + ], + "stateMutability": "pure", + "type": "function", + "name": "idsEqual", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16" + }, + { + "internalType": "bytes", + "name": "signedBlindedHeader", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "unlock", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "EthBlockBidContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/EthBlockBidSenderContract.json b/suave/artifacts/bids.sol/EthBlockBidSenderContract.json index 47dfe12957..d3b10b7eb5 100644 --- a/suave/artifacts/bids.sol/EthBlockBidSenderContract.json +++ b/suave/artifacts/bids.sol/EthBlockBidSenderContract.json @@ -680,10 +680,20050 @@ "type": "function" } ], + "bytecode": { + "object": "0x60806040523480156200001157600080fd5b50604051620029ec380380620029ec833981016040819052620000349162000060565b6000620000428282620001c4565b505062000290565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200007457600080fd5b82516001600160401b03808211156200008c57600080fd5b818501915085601f830112620000a157600080fd5b815181811115620000b657620000b66200004a565b604051601f8201601f19908116603f01168101908382118183101715620000e157620000e16200004a565b816040528281528886848701011115620000fa57600080fd5b600093505b828410156200011e5784840186015181850187015292850192620000ff565b600086848301015280965050505050505092915050565b600181811c908216806200014a57607f821691505b6020821081036200016b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf57600081815260208120601f850160051c810160208610156200019a5750805b601f850160051c820191505b81811015620001bb57828155600101620001a6565b5050505b505050565b81516001600160401b03811115620001e057620001e06200004a565b620001f881620001f1845462000135565b8462000171565b602080601f831160018114620002305760008415620002175750858301515b600019600386901b1c1916600185901b178555620001bb565b600085815260208120601f198616915b82811015620002615788860151825594840194600190910190840162000240565b5085821015620002805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61274c80620002a06000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a", + "sourceMap": "11164:717:18:-:0;;;11249:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11295:13;:30;11311:14;11295:13;:30;:::i;:::-;;11249:80;11164:717;;14:127:20;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:1042;226:6;257:2;300;288:9;279:7;275:23;271:32;268:52;;;316:1;313;306:12;268:52;343:16;;-1:-1:-1;;;;;408:14:20;;;405:34;;;435:1;432;425:12;405:34;473:6;462:9;458:22;448:32;;518:7;511:4;507:2;503:13;499:27;489:55;;540:1;537;530:12;489:55;569:2;563:9;591:2;587;584:10;581:36;;;597:18;;:::i;:::-;672:2;666:9;640:2;726:13;;-1:-1:-1;;722:22:20;;;746:2;718:31;714:40;702:53;;;770:18;;;790:22;;;767:46;764:72;;;816:18;;:::i;:::-;856:10;852:2;845:22;891:2;883:6;876:18;931:7;926:2;921;917;913:11;909:20;906:33;903:53;;;952:1;949;942:12;903:53;974:1;965:10;;984:129;998:2;995:1;992:9;984:129;;;1086:10;;;1082:19;;1076:26;1055:14;;;1051:23;;1044:59;1009:10;;;;984:129;;;1155:1;1150:2;1145;1137:6;1133:15;1129:24;1122:35;1176:6;1166:16;;;;;;;;146:1042;;;;:::o;1193:380::-;1272:1;1268:12;;;;1315;;;1336:61;;1390:4;1382:6;1378:17;1368:27;;1336:61;1443:2;1435:6;1432:14;1412:18;1409:38;1406:161;;1489:10;1484:3;1480:20;1477:1;1470:31;1524:4;1521:1;1514:15;1552:4;1549:1;1542:15;1406:161;;1193:380;;;:::o;1704:545::-;1806:2;1801:3;1798:11;1795:448;;;1842:1;1867:5;1863:2;1856:17;1912:4;1908:2;1898:19;1982:2;1970:10;1966:19;1963:1;1959:27;1953:4;1949:38;2018:4;2006:10;2003:20;2000:47;;;-1:-1:-1;2041:4:20;2000:47;2096:2;2091:3;2087:12;2084:1;2080:20;2074:4;2070:31;2060:41;;2151:82;2169:2;2162:5;2159:13;2151:82;;;2214:17;;;2195:1;2184:13;2151:82;;;2155:3;;;1795:448;1704:545;;;:::o;2425:1352::-;2545:10;;-1:-1:-1;;;;;2567:30:20;;2564:56;;;2600:18;;:::i;:::-;2629:97;2719:6;2679:38;2711:4;2705:11;2679:38;:::i;:::-;2673:4;2629:97;:::i;:::-;2781:4;;2845:2;2834:14;;2862:1;2857:663;;;;3564:1;3581:6;3578:89;;;-1:-1:-1;3633:19:20;;;3627:26;3578:89;-1:-1:-1;;2382:1:20;2378:11;;;2374:24;2370:29;2360:40;2406:1;2402:11;;;2357:57;3680:81;;2827:944;;2857:663;1651:1;1644:14;;;1688:4;1675:18;;-1:-1:-1;;2893:20:20;;;3011:236;3025:7;3022:1;3019:14;3011:236;;;3114:19;;;3108:26;3093:42;;3206:27;;;;3174:1;3162:14;;;;3041:19;;3011:236;;;3015:3;3275:6;3266:7;3263:19;3260:201;;;3336:19;;;3330:26;-1:-1:-1;;3419:1:20;3415:14;;;3431:3;3411:24;3407:37;3403:42;3388:58;3373:74;;3260:201;-1:-1:-1;;;;;3507:1:20;3491:14;;;3487:22;3474:36;;-1:-1:-1;2425:1352:20:o;:::-;11164:717:18;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a" + "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a", + "sourceMap": "11164:717:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11332:547;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5999:2014;;;;;;:::i;:::-;;:::i;10827:333::-;;;;;;:::i;:::-;;:::i;187:228::-;;;:::i;10548:276::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;467:122::-;;;;;;:::i;:::-;;:::i;:::-;;9764:781;;;;;;:::i;:::-;;:::i;5720:276::-;;;;;;:::i;:::-;;:::i;:::-;;;13796:14:20;;13789:22;13771:41;;13759:2;13744:18;5720:276:18;13631:187:20;8016:1186:18;;;;;;:::i;:::-;;:::i;11332:547::-;11498:12;11524:22;:20;:22::i;:::-;11516:31;;;;;;11607:53;;-1:-1:-1;;;11607:53:18;;11553:25;;;;11607:4;;:12;;:53;;11620:9;;11631:11;;11644:4;;11650:9;;11607:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11607:53:18;;;;;;;;;;;;:::i;:::-;11552:108;;;;11664:57;11695:13;11664:57;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11710:10;11664:30;:57::i;:::-;;11731:76;11740:8;:11;;;11753:8;:28;;;11783:8;:23;;;11731:76;;;;;;;;:::i;:::-;;;;;;;;11854:20;;-1:-1:-1;;;11831:21:18;11854:20;;11865:8;;11854:20;;;:::i;:::-;;;;-1:-1:-1;;11854:20:18;;;;;;;;;;11818:57;;;11854:20;11818:57;;:::i;:::-;;;;;;;;;;;;;11811:64;;;;11332:547;;;;;;:::o;5999:2014::-;6097:12;6123:22;:20;:22::i;:::-;6115:31;;;;;;6151:36;6190:53;6206:11;6190:53;;;;;;;;;;;;;-1:-1:-1;;;6190:53:18;;;:15;:53::i;:::-;6151:92;;6247:35;6285:60;6301:11;6285:60;;;;;;;;;;;;;;;;;:15;:60::i;:::-;6247:98;;6354:16;:23;6381:1;6354:28;6350:97;;6425:4;6396:46;;-1:-1:-1;;;6396:46:18;;;;;;;;:::i;:::-;;;;;;;;6350:97;6451:26;6496:16;:23;-1:-1:-1;;;;;6480:40:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6451:69;;6529:6;6524:617;6545:16;:23;6541:1;:27;6524:617;;;6619:28;6650:16;6667:1;6650:19;;;;;;;;:::i;:::-;;;;;;;6619:50;;6725:6;6720:388;6741:17;:24;6737:1;:28;6720:388;;;6835:33;6882:82;6914:17;6932:1;6914:20;;;;;;;;:::i;:::-;;;;;;;:23;;;6882:82;;;;;;;;;;;;;-1:-1:-1;;;6882:82:18;;;:31;:82::i;:::-;6871:111;;;;;;;;;;;;:::i;:::-;6835:147;;6992:49;7001:12;7014:1;7001:15;;;;;;;;:::i;:::-;;;;;;;7018:16;7035:1;7018:19;;;;;;;;:::i;:::-;;;;;;;:22;;;6992:8;:49::i;:::-;6988:115;;;7064:17;7082:1;7064:20;;;;;;;;:::i;:::-;;;;;;;7050:34;;7091:5;;;6988:115;-1:-1:-1;6767:3:18;;;;:::i;:::-;;;;6720:388;;;;7125:11;7112:7;7120:1;7112:10;;;;;;;;:::i;:::-;;;;;;:24;;;;6575:566;6570:3;;;;;:::i;:::-;;;;6524:617;;;;7145:29;7194:7;:14;-1:-1:-1;;;;;7177:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;7177:32:18;;;;;;;;;;;;;;;;7145:64;;7218:6;7213:259;7234:7;:14;7230:1;:18;7213:259;;;7260:23;7286:81;7318:7;7326:1;7318:10;;;;;;;;:::i;:::-;;;;;;;:13;;;7286:81;;;;;;;;;;;;;;;;;:31;:81::i;:::-;7260:107;;7372:10;7396;7385:32;;;;;;;;;;;;:::i;:::-;7372:45;;7437:30;;;;;;;;7448:3;-1:-1:-1;;;;;7437:30:18;;;;;7453:7;7461:1;7453:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;7437:30:18;;;;;7422:9;7432:1;7422:12;;;;;;;;:::i;:::-;;;;;;:45;;;;7255:217;;7250:3;;;;;:::i;:::-;;;;7213:259;;;-1:-1:-1;7517:16:18;;7508:6;7537:238;7558:5;7562:1;7558;:5;:::i;:::-;7554:1;:9;7537:238;;;7580:6;7589:5;:1;7593;7589:5;:::i;:::-;7580:14;;7575:196;7600:1;7596;:5;7575:196;;;7637:9;7647:1;7637:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;:9;7628:1;7618:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;;7614:152;;;7662:22;7687:9;7697:1;7687:12;;;;;;;;:::i;:::-;;;;;;;7662:37;;7721:9;7731:1;7721:12;;;;;;;;:::i;:::-;;;;;;;7706:9;7716:1;7706:12;;;;;;;;:::i;:::-;;;;;;:27;;;;7755:4;7740:9;7750:1;7740:12;;;;;;;;:::i;:::-;;;;;;:19;;;;7655:111;7614:152;7603:3;;;;:::i;:::-;;;;7575:196;;;-1:-1:-1;7565:3:18;;;;:::i;:::-;;;;7537:238;;;;7779:30;7830:7;:14;-1:-1:-1;;;;;7812:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7812:33:18;;7779:66;;7854:6;7849:87;7870:9;:16;7866:1;:20;7849:87;;;7913:9;7923:1;7913:12;;;;;;;;:::i;:::-;;;;;;;:18;;;7898:9;7908:1;7898:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;7898:33:18;;;:12;;;;;;;;;;;:33;7888:3;;;;:::i;:::-;;;;7849:87;;;;7947:62;7960:9;7971:11;7984:9;7947:62;;;;;;;;;;;;;-1:-1:-1;;;7947:62:18;;;:12;:62::i;:::-;7940:69;;;;;;;;5999:2014;;;;;:::o;10827:333::-;10917:12;10943:22;:20;:22::i;:::-;10935:31;;;;;;11048:20;11071:67;11103:5;11071:67;;;;;;;;;;;;;-1:-1:-1;;;11071:67:18;;;:31;:67::i;:::-;11048:90;10827:333;-1:-1:-1;;;;10827:333:18:o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;10548:276::-;10641:16;;:::i;:::-;10659:12;10682:40;10703:3;:6;;;10711:10;10682:40;;;;;;;:::i;:::-;;;;;;;;10731:61;10740:3;:6;;;10748:3;:23;;;10773:3;:18;;;10731:61;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;10804:3:18;;-1:-1:-1;10809:10:18;10548:276;;;;;;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;9764:781::-;9913:16;;:::i;:::-;9983;;;9997:1;9983:16;;;9931:12;9983:16;;;;;9931:12;9949:31;;9983:16;9997:1;9983:16;;;;;;;;;;-1:-1:-1;9983:16:18;9949:50;;10031:4;10003:14;10018:1;10003:17;;;;;;;;:::i;:::-;;;;;;:33;-1:-1:-1;;;;;10003:33:18;;;-1:-1:-1;;;;;10003:33:18;;;;;858:42:14;10040:14:18;10055:1;10040:17;;;;;;;;:::i;:::-;;;;;;:41;-1:-1:-1;;;;;10040:41:18;;;-1:-1:-1;;;;;10040:41:18;;;;;10086:25;10114:82;10127:11;10140:14;10156;10114:82;;;;;;;;;;;;;-1:-1:-1;;;10114:82:18;;;:12;:82::i;:::-;10086:110;;10200:84;10229:8;:11;;;10200:84;;;;;;;;;;;;;-1:-1:-1;;;10200:84:18;;;10278:4;10267:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;10200:28;:84::i;:::-;10293:23;10318:20;10342:54;10362:9;10373:8;:11;;;10386:9;10342:19;:54::i;:::-;10292:104;;;;10400:79;10429:8;:11;;;10400:79;;;;;;;;;;;;;-1:-1:-1;;;10400:79:18;;;10471:7;10400:28;:79::i;:::-;-1:-1:-1;10520:8:18;;;;-1:-1:-1;9764:781:18;-1:-1:-1;;;;;;9764:781:18:o;5720:276::-;5818:20;;;-1:-1:-1;;;;;;27095:52:20;;;5818:20:18;;;27083:65:20;5818:20:18;;;;;;;;;27164:12:20;;;5818:20:18;;27095:52:20;;;5859:20:18;;;27083:65:20;5859:20:18;;;;;;;;;27164:12:20;;;;5859:20:18;;;5791:4;;5818:20;5791:4;5883:94;5904:1;:8;5900:1;:12;5883:94;;;5943:1;5945;5943:4;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5928:19:18;;5934:1;5937;5928:11;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;5928:11:18;:19;5924:49;;5962:5;5955:12;;;;;;;5924:49;5914:3;;;;:::i;:::-;;;;5883:94;;;-1:-1:-1;5988:4:18;;5720:276;-1:-1:-1;;;;;5720:276:18:o;8016:1186::-;8114:12;8140:22;:20;:22::i;:::-;8132:31;;;;;;8168:26;8197:53;8213:11;8197:53;;;;;;;;;;;;;-1:-1:-1;;;8197:53:18;;;:15;:53::i;:::-;8168:82;;8258:7;:14;8276:1;8258:19;8254:88;;8320:4;8291:46;;-1:-1:-1;;;8291:46:18;;;;;;;;:::i;8254:88::-;8346:29;8395:7;:14;-1:-1:-1;;;;;8378:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;8378:32:18;;;;;;;;;;;;;;;;8346:64;;8419:6;8414:258;8435:7;:14;8431:1;:18;8414:258;;;8461:23;8487:80;8519:7;8527:1;8519:10;;;;;;;;:::i;:::-;;;;;;;:13;;;8487:80;;;;;;;;;;;;;;;;;:31;:80::i;:::-;8461:106;;8572:10;8596;8585:32;;;;;;;;;;;;:::i;:::-;8572:45;;8637:30;;;;;;;;8648:3;-1:-1:-1;;;;;8637:30:18;;;;;8653:7;8661:1;8653:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;8637:30:18;;;;;8622:9;8632:1;8622:12;;;;;;;;:::i;:::-;;;;;;:45;;;;8456:216;;8451:3;;;;;:::i;:::-;;;;8414:258;;;-1:-1:-1;8717:16:18;;8708:6;8737:238;8758:5;8762:1;8758;:5;:::i;:::-;8754:1;:9;8737:238;;;8780:6;8789:5;:1;8793;8789:5;:::i;:::-;8780:14;;8775:196;8800:1;8796;:5;8775:196;;;8837:9;8847:1;8837:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;:9;8828:1;8818:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;;8814:152;;;8862:22;8887:9;8897:1;8887:12;;;;;;;;:::i;:::-;;;;;;;8862:37;;8921:9;8931:1;8921:12;;;;;;;;:::i;:::-;;;;;;;8906:9;8916:1;8906:12;;;;;;;;:::i;:::-;;;;;;:27;;;;8955:4;8940:9;8950:1;8940:12;;;;;;;;:::i;:::-;;;;;;:19;;;;8855:111;8814:152;8803:3;;;;:::i;:::-;;;;8775:196;;;-1:-1:-1;8765:3:18;;;;:::i;:::-;;;;8737:238;;;;8979:30;9030:7;:14;-1:-1:-1;;;;;9012:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9012:33:18;;8979:66;;9054:6;9049:87;9070:9;:16;9066:1;:20;9049:87;;;9113:9;9123:1;9113:12;;;;;;;;:::i;:::-;;;;;;;:18;;;9098:9;9108:1;9098:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;9098:33:18;;;:12;;;;;;;;;;;:33;9088:3;;;;:::i;:::-;;;;9049:87;;;;9147:51;9160:9;9171:11;9184:9;9147:51;;;;;;;;;;;;:12;:51::i;:::-;9140:58;8016:1186;-1:-1:-1;;;;;;;8016:1186:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;2248:103::-;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;7042:438::-;7172:12;7208:16;:14;:16::i;:::-;7200:25;;;;;;7236:12;7250:17;1983:42;-1:-1:-1;;;;;7271:40:14;7323:8;7333:10;7312:32;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;7312:32:14;;;;;;;;;;7271:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7235:110;;;;7360:7;7355:97;;1983:42;7436:4;7390:51;;-1:-1:-1;;;7390:51:14;;;;;;;;;:::i;4684:327::-;4764:12;4789;4803:17;1413:42;-1:-1:-1;;;;;4824:21:14;4857:4;4863:9;4846:27;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4846:27:14;;;;;;;;;;4824:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4788:86;;;;4889:7;4884:78;;1413:42;4946:4;4919:32;;-1:-1:-1;;;4919:32:14;;;;;;;;;:::i;4884:78::-;4990:4;4979:25;;;;;;;;;;;;:::i;:::-;4972:32;4684:327;-1:-1:-1;;;;;4684:327:14:o;3339:345::-;3429:12;3454;3468:17;1056:42;-1:-1:-1;;;;;3489:38:14;3539:5;3546:3;3528:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3528:22:14;;;;;;;;;;3489:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3453:98;;;;3566:7;3561:95;;1056:42;3640:4;3596:49;;-1:-1:-1;;;3596:49:14;;;;;;;;;:::i;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;5360:486::-;5553:10;;:::i;:::-;5576:12;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;2610:435::-;2751:12;2765;2794;2808:17;858:42;-1:-1:-1;;;;;2829:26:14;2867:9;2878:5;2885:9;2856:39;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2856:39:14;;;;;;;;;;2829:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2793:103;;;;2911:7;2906:83;;858:42;2973:4;2941:37;;-1:-1:-1;;;2941:37:14;;;;;;;;;:::i;2906:83::-;3017:4;3006:32;;;;;;;;;;;;:::i;:::-;2999:39;;;;;;2610:435;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:20;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:255::-;476:2;470:9;518:6;506:19;;-1:-1:-1;;;;;540:34:20;;576:22;;;537:62;534:88;;;602:18;;:::i;664:253::-;736:2;730:9;778:4;766:17;;-1:-1:-1;;;;;798:34:20;;834:22;;;795:62;792:88;;;860:18;;:::i;922:275::-;993:2;987:9;1058:2;1039:13;;-1:-1:-1;;1035:27:20;1023:40;;-1:-1:-1;;;;;1078:34:20;;1114:22;;;1075:62;1072:88;;;1140:18;;:::i;:::-;1176:2;1169:22;922:275;;-1:-1:-1;922:275:20:o;1202:129::-;-1:-1:-1;;;;;1280:5:20;1276:30;1269:5;1266:41;1256:69;;1321:1;1318;1311:12;1256:69;1202:129;:::o;1336:132::-;1403:20;;1432:30;1403:20;1432:30;:::i;:::-;1336:132;;;:::o;1473:186::-;1521:4;-1:-1:-1;;;;;1546:6:20;1543:30;1540:56;;;1576:18;;:::i;:::-;-1:-1:-1;1642:2:20;1621:15;-1:-1:-1;;1617:29:20;1648:4;1613:40;;1473:186::o;1664:462::-;1706:5;1759:3;1752:4;1744:6;1740:17;1736:27;1726:55;;1777:1;1774;1767:12;1726:55;1813:6;1800:20;1844:48;1860:31;1888:2;1860:31;:::i;:::-;1844:48;:::i;:::-;1917:2;1908:7;1901:19;1963:3;1956:4;1951:2;1943:6;1939:15;1935:26;1932:35;1929:55;;;1980:1;1977;1970:12;1929:55;2045:2;2038:4;2030:6;2026:17;2019:4;2010:7;2006:18;1993:55;2093:1;2068:16;;;2086:4;2064:27;2057:38;;;;2072:7;1664:462;-1:-1:-1;;;1664:462:20:o;2131:131::-;-1:-1:-1;;;;;2206:31:20;;2196:42;;2186:70;;2252:1;2249;2242:12;2267:134;2335:20;;2364:31;2335:20;2364:31;:::i;2406:193::-;2476:4;-1:-1:-1;;;;;2501:6:20;2498:30;2495:56;;;2531:18;;:::i;:::-;-1:-1:-1;2576:1:20;2572:14;2588:4;2568:25;;2406:193::o;2604:1452::-;2668:5;2721:3;2714:4;2706:6;2702:17;2698:27;2688:55;;2739:1;2736;2729:12;2688:55;2775:6;2762:20;2801:4;2825:70;2841:53;2891:2;2841:53;:::i;2825:70::-;2929:15;;;3015:1;3011:10;;;;2999:23;;2995:32;;;2960:12;;;;3039:15;;;3036:35;;;3067:1;3064;3057:12;3036:35;3103:2;3095:6;3091:15;3115:912;3131:6;3126:3;3123:15;3115:912;;;3209:4;3203:3;3198;3194:13;3190:24;3187:114;;;3255:1;3284:2;3280;3273:14;3187:114;3327:22;;:::i;:::-;3390:3;3377:17;3407:32;3431:7;3407:32;:::i;:::-;3452:22;;3515:12;;;3502:26;3541:32;3502:26;3541:32;:::i;:::-;3593:14;;;3586:31;3640:2;3683:12;;;3670:26;3709:33;3670:26;3709:33;:::i;:::-;3762:14;;;3755:31;3809:2;3852:12;;;3839:26;3878:32;3839:26;3878:32;:::i;:::-;3930:14;;;3923:31;3967:18;;4005:12;;;;3157:4;3148:14;3115:912;;;-1:-1:-1;4045:5:20;2604:1452;-1:-1:-1;;;;;;2604:1452:20:o;4061:997::-;4122:5;4170:6;4158:9;4153:3;4149:19;4145:32;4142:52;;;4190:1;4187;4180:12;4142:52;4212:22;;:::i;:::-;4203:31;;4257:28;4275:9;4257:28;:::i;:::-;4250:5;4243:43;4337:2;4326:9;4322:18;4309:32;-1:-1:-1;;;;;4401:2:20;4393:6;4390:14;4387:34;;;4417:1;4414;4407:12;4387:34;4453:45;4494:3;4485:6;4474:9;4470:22;4453:45;:::i;:::-;4448:2;4441:5;4437:14;4430:69;4559:2;4548:9;4544:18;4531:32;4526:2;4519:5;4515:14;4508:56;4596:37;4629:2;4618:9;4614:18;4596:37;:::i;:::-;4591:2;4584:5;4580:14;4573:61;4667:39;4701:3;4690:9;4686:19;4667:39;:::i;:::-;4661:3;4654:5;4650:15;4643:64;4740:38;4773:3;4762:9;4758:19;4740:38;:::i;:::-;4734:3;4727:5;4723:15;4716:63;4840:3;4829:9;4825:19;4812:33;4806:3;4799:5;4795:15;4788:58;4899:3;4888:9;4884:19;4871:33;4855:49;;4929:2;4919:8;4916:16;4913:36;;;4945:1;4942;4935:12;4913:36;;4982:69;5047:3;5036:8;5025:9;5021:24;4982:69;:::i;:::-;4976:3;4969:5;4965:15;4958:94;;4061:997;;;;:::o;5063:170::-;-1:-1:-1;;;;;;5157:51:20;;5147:62;;5137:90;;5223:1;5220;5213:12;5238:172;5325:20;;5354:50;5325:20;5354:50;:::i;5415:1620::-;5595:6;5603;5611;5619;5672:3;5660:9;5651:7;5647:23;5643:33;5640:53;;;5689:1;5686;5679:12;5640:53;5729:9;5716:23;-1:-1:-1;;;;;5799:2:20;5791:6;5788:14;5785:34;;;5815:1;5812;5805:12;5785:34;5838:65;5895:7;5886:6;5875:9;5871:22;5838:65;:::i;:::-;5828:75;;5922:2;5912:12;;5974:2;5963:9;5959:18;5946:32;5987:30;6011:5;5987:30;:::i;:::-;6036:5;-1:-1:-1;6094:2:20;6079:18;;6066:32;6110:16;;;6107:36;;;6139:1;6136;6129:12;6107:36;6162:24;;6217:4;6209:13;;6205:27;-1:-1:-1;6195:55:20;;6246:1;6243;6236:12;6195:55;6282:2;6269:16;6305:70;6321:53;6371:2;6321:53;:::i;6305:70::-;6409:15;;;6491:1;6487:10;;;;6479:19;;6475:28;;;6440:12;;;;6515:19;;;6512:39;;;6547:1;6544;6537:12;6512:39;6571:11;;;;6591:242;6607:6;6602:3;6599:15;6591:242;;;6689:3;6676:17;6706:52;6750:7;6706:52;:::i;:::-;6771:20;;6624:12;;;;6811;;;;6591:242;;;6852:5;-1:-1:-1;;;;6910:2:20;6895:18;;6882:32;;-1:-1:-1;6926:16:20;;;6923:36;;;6955:1;6952;6945:12;6923:36;;6978:51;7021:7;7010:8;6999:9;6995:24;6978:51;:::i;:::-;6968:61;;;5415:1620;;;;;;;:::o;7040:250::-;7125:1;7135:113;7149:6;7146:1;7143:13;7135:113;;;7225:11;;;7219:18;7206:11;;;7199:39;7171:2;7164:10;7135:113;;;-1:-1:-1;;7282:1:20;7264:16;;7257:27;7040:250::o;7295:270::-;7336:3;7374:5;7368:12;7401:6;7396:3;7389:19;7417:76;7486:6;7479:4;7474:3;7470:14;7463:4;7456:5;7452:16;7417:76;:::i;:::-;7547:2;7526:15;-1:-1:-1;;7522:29:20;7513:39;;;;7554:4;7509:50;;7295:270;-1:-1:-1;;7295:270:20:o;7570:217::-;7717:2;7706:9;7699:21;7680:4;7737:44;7777:2;7766:9;7762:18;7754:6;7737:44;:::i;:::-;7729:52;7570:217;-1:-1:-1;;;7570:217:20:o;7792:493::-;7892:6;7900;7953:2;7941:9;7932:7;7928:23;7924:32;7921:52;;;7969:1;7966;7959:12;7921:52;8009:9;7996:23;-1:-1:-1;;;;;8034:6:20;8031:30;8028:50;;;8074:1;8071;8064:12;8028:50;8097:65;8154:7;8145:6;8134:9;8130:22;8097:65;:::i;:::-;8087:75;;;8212:2;8201:9;8197:18;8184:32;8225:30;8249:5;8225:30;:::i;:::-;8274:5;8264:15;;;7792:493;;;;;:::o;8290:501::-;8394:6;8402;8455:2;8443:9;8434:7;8430:23;8426:32;8423:52;;;8471:1;8468;8461:12;8423:52;8510:9;8497:23;8529:50;8573:5;8529:50;:::i;:::-;8598:5;-1:-1:-1;8654:2:20;8639:18;;8626:32;-1:-1:-1;;;;;8670:30:20;;8667:50;;;8713:1;8710;8703:12;8667:50;8736:49;8777:7;8768:6;8757:9;8753:22;8736:49;:::i;:::-;8726:59;;;8290:501;;;;;:::o;8796:747::-;8850:5;8903:3;8896:4;8888:6;8884:17;8880:27;8870:55;;8921:1;8918;8911:12;8870:55;8957:6;8944:20;8983:4;9007:70;9023:53;9073:2;9023:53;:::i;9007:70::-;9111:15;;;9197:1;9193:10;;;;9181:23;;9177:32;;;9142:12;;;;9221:15;;;9218:35;;;9249:1;9246;9239:12;9218:35;9285:2;9277:6;9273:15;9297:217;9313:6;9308:3;9305:15;9297:217;;;9393:3;9380:17;9410:31;9435:5;9410:31;:::i;:::-;9454:18;;9492:12;;;;9330;;9297:217;;9548:1404;9647:6;9655;9708:2;9696:9;9687:7;9683:23;9679:32;9676:52;;;9724:1;9721;9714:12;9676:52;9764:9;9751:23;-1:-1:-1;;;;;9834:2:20;9826:6;9823:14;9820:34;;;9850:1;9847;9840:12;9820:34;9873:22;;;;9929:4;9911:16;;;9907:27;9904:47;;;9947:1;9944;9937:12;9904:47;9973:22;;:::i;:::-;10018:41;10056:2;10018:41;:::i;:::-;10011:5;10004:56;10092:50;10138:2;10134;10130:11;10092:50;:::i;:::-;10087:2;10080:5;10076:14;10069:74;10175:30;10201:2;10197;10193:11;10175:30;:::i;:::-;10170:2;10163:5;10159:14;10152:54;10252:2;10248;10244:11;10231:25;10281:2;10271:8;10268:16;10265:36;;;10297:1;10294;10287:12;10265:36;10333:56;10381:7;10370:8;10366:2;10362:17;10333:56;:::i;:::-;10328:2;10321:5;10317:14;10310:80;;10436:3;10432:2;10428:12;10415:26;10466:2;10456:8;10453:16;10450:36;;;10482:1;10479;10472:12;10450:36;10519:56;10567:7;10556:8;10552:2;10548:17;10519:56;:::i;:::-;10513:3;10506:5;10502:15;10495:81;;10622:3;10618:2;10614:12;10601:26;10652:2;10642:8;10639:16;10636:36;;;10668:1;10665;10658:12;10636:36;10705:44;10741:7;10730:8;10726:2;10722:17;10705:44;:::i;:::-;10699:3;10688:15;;10681:69;-1:-1:-1;10692:5:20;-1:-1:-1;10827:2:20;10812:18;;10799:32;;-1:-1:-1;10843:16:20;;;10840:36;;;10872:1;10869;10862:12;10840:36;;10895:51;10938:7;10927:8;10916:9;10912:24;10895:51;:::i;11064:461::-;11117:3;11155:5;11149:12;11182:6;11177:3;11170:19;11208:4;11237:2;11232:3;11228:12;11221:19;;11274:2;11267:5;11263:14;11295:1;11305:195;11319:6;11316:1;11313:13;11305:195;;;11384:13;;-1:-1:-1;;;;;11380:39:20;11368:52;;11440:12;;;;11475:15;;;;11416:1;11334:9;11305:195;;;-1:-1:-1;11516:3:20;;11064:461;-1:-1:-1;;;;;11064:461:20:o;11530:809::-;11576:3;-1:-1:-1;;;;;11604:39:20;11682:2;11674:5;11668:12;11664:21;11659:3;11652:34;11747:2;11739:4;11732:5;11728:16;11722:23;11718:32;11711:4;11706:3;11702:14;11695:56;;-1:-1:-1;;;;;11804:4:20;11797:5;11793:16;11787:23;11783:48;11776:4;11771:3;11767:14;11760:72;11878:4;11871:5;11867:16;11861:23;11916:4;11909;11904:3;11900:14;11893:28;11942:58;11994:4;11989:3;11985:14;11971:12;11942:58;:::i;:::-;11930:70;;12048:4;12041:5;12037:16;12031:23;12096:3;12090:4;12086:14;12079:4;12074:3;12070:14;12063:38;12124:50;12169:4;12153:14;12124:50;:::i;:::-;12110:64;;;12222:4;12215:5;12211:16;12205:23;12272:3;12264:6;12260:16;12253:4;12248:3;12244:14;12237:40;12293;12326:6;12310:14;12293:40;:::i;12344:408::-;12563:2;12552:9;12545:21;12526:4;12589:49;12634:2;12623:9;12619:18;12611:6;12589:49;:::i;:::-;12686:9;12678:6;12674:22;12669:2;12658:9;12654:18;12647:50;12714:32;12739:6;12731;12714:32;:::i;12757:384::-;12840:6;12893:2;12881:9;12872:7;12868:23;12864:32;12861:52;;;12909:1;12906;12899:12;12861:52;12949:9;12936:23;-1:-1:-1;;;;;12974:6:20;12971:30;12968:50;;;13014:1;13011;13004:12;12968:50;13037:22;;13093:3;13075:16;;;13071:26;13068:46;;;13110:1;13107;13100:12;13146:480;13268:6;13276;13329:2;13317:9;13308:7;13304:23;13300:32;13297:52;;;13345:1;13342;13335:12;13297:52;13384:9;13371:23;13403:50;13447:5;13403:50;:::i;:::-;13472:5;-1:-1:-1;13529:2:20;13514:18;;13501:32;13542:52;13501:32;13542:52;:::i;13823:786::-;13886:3;13924:5;13918:12;13951:6;13946:3;13939:19;13977:4;14006:2;14001:3;13997:12;13990:19;;14043:2;14036:5;14032:14;14064:1;14074:510;14088:6;14085:1;14082:13;14074:510;;;14147:13;;14230:9;;-1:-1:-1;;;;;14226:18:20;;;14214:31;;14289:11;;;14283:18;14279:27;;14265:12;;;14258:49;14330:4;14378:11;;;14372:18;-1:-1:-1;;;;;14368:44:20;14354:12;;;14347:66;14436:4;14484:11;;;14478:18;14474:27;14460:12;;;14453:49;14531:4;14522:14;;;;14559:15;;;;14409:1;14103:9;14074:510;;14614:877;14671:3;14699:6;-1:-1:-1;;;;;14781:2:20;14773:5;14767:12;14763:21;14758:3;14751:34;14831:4;14824:5;14820:16;14814:23;14869:2;14862:4;14857:3;14853:14;14846:26;14893:44;14933:2;14928:3;14924:12;14910;14893:44;:::i;:::-;14881:56;;;14986:4;14979:5;14975:16;14969:23;14962:4;14957:3;14953:14;14946:47;15054:2;15046:4;15039:5;15035:16;15029:23;15025:32;15018:4;15013:3;15009:14;15002:56;;15136:1;15132;15127:3;15123:11;15119:19;15111:4;15104:5;15100:16;15094:23;15090:49;15083:4;15078:3;15074:14;15067:73;15188:4;15181:5;15177:16;15171:23;15203:49;15246:4;15241:3;15237:14;15221;-1:-1:-1;;;;;11022:30:20;11010:43;;10957:102;15203:49;;15301:4;15294:5;15290:16;15284:23;15277:4;15272:3;15268:14;15261:47;15356:4;15349:5;15345:16;15339:23;15404:3;15398:4;15394:14;15387:4;15382:3;15378:14;15371:38;15425:60;15480:4;15464:14;15425:60;:::i;15496:500::-;15568:3;15606:5;15600:12;15633:6;15628:3;15621:19;15659:4;15688:2;15683:3;15679:12;15672:19;;15725:2;15718:5;15714:14;15746:1;15756:215;15770:6;15767:1;15764:13;15756:215;;;15835:13;;-1:-1:-1;;;;;;15831:59:20;15819:72;;15911:12;;;;15946:15;;;;15792:1;15785:9;15756:215;;16001:789;16375:3;16364:9;16357:22;16338:4;16402:61;16458:3;16447:9;16443:19;16435:6;16402:61;:::i;:::-;-1:-1:-1;;;;;16503:6:20;16499:31;16494:2;16483:9;16479:18;16472:59;16579:9;16571:6;16567:22;16562:2;16551:9;16547:18;16540:50;16613:63;16669:6;16661;16613:63;:::i;:::-;16599:77;;16724:9;16716:6;16712:22;16707:2;16696:9;16692:18;16685:50;16752:32;16777:6;16769;16752:32;:::i;16795:176::-;16893:13;;16915:50;16893:13;16915:50;:::i;16976:136::-;17054:13;;17076:30;17054:13;17076:30;:::i;17117:744::-;17182:5;17235:3;17228:4;17220:6;17216:17;17212:27;17202:55;;17253:1;17250;17243:12;17202:55;17282:6;17276:13;17308:4;17332:70;17348:53;17398:2;17348:53;:::i;17332:70::-;17436:15;;;17522:1;17518:10;;;;17506:23;;17502:32;;;17467:12;;;;17546:15;;;17543:35;;;17574:1;17571;17564:12;17543:35;17610:2;17602:6;17598:15;17622:210;17638:6;17633:3;17630:15;17622:210;;;17711:3;17705:10;17728:31;17753:5;17728:31;:::i;:::-;17772:18;;17810:12;;;;17655;;17622:210;;17866:442;17920:5;17973:3;17966:4;17958:6;17954:17;17950:27;17940:55;;17991:1;17988;17981:12;17940:55;18020:6;18014:13;18051:48;18067:31;18095:2;18067:31;:::i;18051:48::-;18124:2;18115:7;18108:19;18170:3;18163:4;18158:2;18150:6;18146:15;18142:26;18139:35;18136:55;;;18187:1;18184;18177:12;18136:55;18200:77;18274:2;18267:4;18258:7;18254:18;18247:4;18239:6;18235:17;18200:77;:::i;18313:1060::-;18374:5;18422:4;18410:9;18405:3;18401:19;18397:30;18394:50;;;18440:1;18437;18430:12;18394:50;18462:22;;:::i;:::-;18453:31;;18507:59;18556:9;18507:59;:::i;:::-;18500:5;18493:74;18599:68;18663:2;18652:9;18648:18;18599:68;:::i;:::-;18594:2;18587:5;18583:14;18576:92;18700:48;18744:2;18733:9;18729:18;18700:48;:::i;:::-;18695:2;18688:5;18684:14;18677:72;18793:2;18782:9;18778:18;18772:25;-1:-1:-1;;;;;18857:2:20;18849:6;18846:14;18843:34;;;18873:1;18870;18863:12;18843:34;18909:68;18973:3;18964:6;18953:9;18949:22;18909:68;:::i;:::-;18904:2;18897:5;18893:14;18886:92;19024:3;19013:9;19009:19;19003:26;18987:42;;19054:2;19044:8;19041:16;19038:36;;;19070:1;19067;19060:12;19038:36;19107:70;19173:3;19162:8;19151:9;19147:24;19107:70;:::i;:::-;19101:3;19094:5;19090:15;19083:95;19224:3;19213:9;19209:19;19203:26;19187:42;;19254:2;19244:8;19241:16;19238:36;;;19270:1;19267;19260:12;19238:36;;19307:59;19362:3;19351:8;19340:9;19336:24;19307:59;:::i;:::-;19301:3;19294:5;19290:15;19283:84;;18313:1060;;;;:::o;19378:577::-;19488:6;19496;19549:2;19537:9;19528:7;19524:23;19520:32;19517:52;;;19565:1;19562;19555:12;19517:52;19598:9;19592:16;-1:-1:-1;;;;;19668:2:20;19660:6;19657:14;19654:34;;;19684:1;19681;19674:12;19654:34;19707:65;19764:7;19755:6;19744:9;19740:22;19707:65;:::i;:::-;19697:75;;19818:2;19807:9;19803:18;19797:25;19781:41;;19847:2;19837:8;19834:16;19831:36;;;19863:1;19860;19853:12;19831:36;;19886:63;19941:7;19930:8;19919:9;19915:24;19886:63;:::i;19960:380::-;20039:1;20035:12;;;;20082;;;20103:61;;20157:4;20149:6;20145:17;20135:27;;20103:61;20210:2;20202:6;20199:14;20179:18;20176:38;20173:161;;20256:10;20251:3;20247:20;20244:1;20237:31;20291:4;20288:1;20281:15;20319:4;20316:1;20309:15;20173:161;;19960:380;;;:::o;20345:499::-;-1:-1:-1;;;;;20617:39:20;20609:6;20605:52;20594:9;20587:71;-1:-1:-1;;;;;20698:6:20;20694:31;20689:2;20678:9;20674:18;20667:59;20762:2;20757;20746:9;20742:18;20735:30;20568:4;20782:56;20834:2;20823:9;20819:18;20811:6;20782:56;:::i;20849:248::-;21022:2;21011:9;21004:21;20985:4;21042:49;21087:2;21076:9;21072:18;21064:6;21042:49;:::i;21102:384::-;-1:-1:-1;;;;;;21287:33:20;;21275:46;;21344:13;;21257:3;;21366:74;21344:13;21429:1;21420:11;;21413:4;21401:17;;21366:74;:::i;:::-;21460:16;;;;21478:1;21456:24;;21102:384;-1:-1:-1;;;21102:384:20:o;21491:427::-;-1:-1:-1;;;;;21720:32:20;;;;21702:51;;21789:2;21784;21769:18;;21762:30;;;21828:1;21808:18;;;21801:29;-1:-1:-1;;;21861:2:20;21846:18;;21839:37;21908:3;21893:19;;21491:427::o;21923:127::-;21984:10;21979:3;21975:20;21972:1;21965:31;22015:4;22012:1;22005:15;22039:4;22036:1;22029:15;22055:1012;22177:6;22208:2;22251;22239:9;22230:7;22226:23;22222:32;22219:52;;;22267:1;22264;22257:12;22219:52;22300:9;22294:16;-1:-1:-1;;;;;22325:6:20;22322:30;22319:50;;;22365:1;22362;22355:12;22319:50;22388:22;;22441:4;22433:13;;22429:27;-1:-1:-1;22419:55:20;;22470:1;22467;22460:12;22419:55;22499:2;22493:9;22522:70;22538:53;22588:2;22538:53;:::i;22522:70::-;22626:15;;;22708:1;22704:10;;;;22696:19;;22692:28;;;22657:12;;;;22732:19;;;22729:39;;;22764:1;22761;22754:12;22729:39;22788:11;;;;22808:229;22824:6;22819:3;22816:15;22808:229;;;22897:3;22891:10;22914:50;22958:5;22914:50;:::i;:::-;22977:18;;22841:12;;;;23015;;;;22808:229;;23072:127;23133:10;23128:3;23124:20;23121:1;23114:31;23164:4;23161:1;23154:15;23188:4;23185:1;23178:15;23204:135;23243:3;23264:17;;;23261:43;;23284:18;;:::i;:::-;-1:-1:-1;23331:1:20;23320:13;;23204:135::o;23344:249::-;23413:6;23466:2;23454:9;23445:7;23441:23;23437:32;23434:52;;;23482:1;23479;23472:12;23434:52;23514:9;23508:16;23533:30;23557:5;23533:30;:::i;23598:128::-;23665:9;;;23686:11;;;23683:37;;;23700:18;;:::i;23731:125::-;23796:9;;;23817:10;;;23814:36;;;23830:18;;:::i;23861:336::-;23940:6;23993:2;23981:9;23972:7;23968:23;23964:32;23961:52;;;24009:1;24006;23999:12;23961:52;24042:9;24036:16;-1:-1:-1;;;;;24067:6:20;24064:30;24061:50;;;24107:1;24104;24097:12;24061:50;24130:61;24183:7;24174:6;24163:9;24159:22;24130:61;:::i;24202:361::-;-1:-1:-1;;;;;24416:39:20;24408:6;24404:52;24393:9;24386:71;24493:2;24488;24477:9;24473:18;24466:30;24367:4;24513:44;24553:2;24542:9;24538:18;24530:6;24513:44;:::i;24568:293::-;24654:6;24707:2;24695:9;24686:7;24682:23;24678:32;24675:52;;;24723:1;24720;24713:12;24675:52;24762:9;24749:23;24781:50;24825:5;24781:50;:::i;24866:245::-;24924:6;24977:2;24965:9;24956:7;24952:23;24948:32;24945:52;;;24993:1;24990;24983:12;24945:52;25032:9;25019:23;25051:30;25075:5;25051:30;:::i;25116:545::-;25209:4;25215:6;25275:11;25262:25;25369:2;25365:7;25354:8;25338:14;25334:29;25330:43;25310:18;25306:68;25296:96;;25388:1;25385;25378:12;25296:96;25415:33;;25467:20;;;-1:-1:-1;;;;;;25499:30:20;;25496:50;;;25542:1;25539;25532:12;25496:50;25575:4;25563:17;;-1:-1:-1;25626:1:20;25622:14;;;25606;25602:35;25592:46;;25589:66;;;25651:1;25648;25641:12;25666:944;25899:4;25947:2;25936:9;25932:18;-1:-1:-1;;;;;25989:39:20;25981:6;25977:52;25966:9;25959:71;26049:2;-1:-1:-1;;;;;26091:6:20;26087:31;26082:2;26071:9;26067:18;26060:59;26155:2;26150;26139:9;26135:18;26128:30;26178:6;26208;26200;26193:22;26246:3;26235:9;26231:19;26224:26;;26273:6;26259:20;;26297:1;26307:277;26321:6;26318:1;26315:13;26307:277;;;26396:6;26383:20;26416:31;26441:5;26416:31;:::i;:::-;-1:-1:-1;;;;;26472:31:20;26460:44;;26559:15;;;;26524:12;;;;26500:1;26336:9;26307:277;;;-1:-1:-1;26601:3:20;25666:944;-1:-1:-1;;;;;;;;25666:944:20:o;26615:307::-;26821:2;26810:9;26803:21;26784:4;26841:75;26912:2;26901:9;26897:18;26889:6;26841:75;:::i;27397:314::-;-1:-1:-1;;;;;27572:32:20;;27554:51;;27641:2;27636;27621:18;;27614:30;;;-1:-1:-1;;27661:44:20;;27686:18;;27678:6;27661:44;:::i;27716:379::-;27911:2;27900:9;27893:21;27874:4;27937:44;27977:2;27966:9;27962:18;27954:6;27937:44;:::i;28100:287::-;28229:3;28267:6;28261:13;28283:66;28342:6;28337:3;28330:4;28322:6;28318:17;28283:66;:::i;:::-;28365:16;;;;;28100:287;-1:-1:-1;;28100:287:20:o;28392:313::-;-1:-1:-1;;;;;28571:6:20;28567:31;28556:9;28549:50;28635:2;28630;28619:9;28615:18;28608:30;28530:4;28655:44;28695:2;28684:9;28680:18;28672:6;28655:44;:::i;28710:1160::-;28827:6;28858:2;28901;28889:9;28880:7;28876:23;28872:32;28869:52;;;28917:1;28914;28907:12;28869:52;28950:9;28944:16;-1:-1:-1;;;;;29020:2:20;29012:6;29009:14;29006:34;;;29036:1;29033;29026:12;29006:34;29074:6;29063:9;29059:22;29049:32;;29119:7;29112:4;29108:2;29104:13;29100:27;29090:55;;29141:1;29138;29131:12;29090:55;29170:2;29164:9;29193:70;29209:53;29259:2;29209:53;:::i;29193:70::-;29297:15;;;29379:1;29375:10;;;;29367:19;;29363:28;;;29328:12;;;;29403:19;;;29400:39;;;29435:1;29432;29425:12;29400:39;29467:2;29463;29459:11;29479:361;29495:6;29490:3;29487:15;29479:361;;;29574:3;29568:10;29610:2;29597:11;29594:19;29591:109;;;29654:1;29683:2;29679;29672:14;29591:109;29725:72;29789:7;29784:2;29770:11;29766:2;29762:20;29758:29;29725:72;:::i;:::-;29713:85;;-1:-1:-1;29818:12:20;;;;29512;;29479:361;;30243:723;-1:-1:-1;;;;;30578:6:20;30574:31;30563:9;30556:50;30642:3;30637:2;30626:9;30622:18;30615:31;30537:4;30669:57;30721:3;30710:9;30706:19;30698:6;30669:57;:::i;:::-;30774:9;30766:6;30762:22;30757:2;30746:9;30742:18;30735:50;30808:44;30845:6;30837;30808:44;:::i;30971:353::-;31063:6;31116:2;31104:9;31095:7;31091:23;31087:32;31084:52;;;31132:1;31129;31122:12;31084:52;31165:9;31159:16;-1:-1:-1;;;;;31190:6:20;31187:30;31184:50;;;31230:1;31227;31220:12;31184:50;31253:65;31310:7;31301:6;31290:9;31286:22;31253:65;:::i;31329:523::-;-1:-1:-1;;;;;31591:39:20;31583:6;31579:52;31568:9;31561:71;31668:2;31663;31652:9;31648:18;31641:30;31542:4;31694:44;31734:2;31723:9;31719:18;31711:6;31694:44;:::i;:::-;31786:9;31778:6;31774:22;31769:2;31758:9;31754:18;31747:50;31814:32;31839:6;31831;31814:32;:::i;:::-;31806:40;31329:523;-1:-1:-1;;;;;;31329:523:20:o;31857:587::-;32155:2;32144:9;32137:21;32118:4;32181:60;32237:2;32226:9;32222:18;32214:6;32181:60;:::i;:::-;-1:-1:-1;;;;;;32277:52:20;;32272:2;32257:18;;32250:80;32366:22;;;32361:2;32346:18;;32339:50;32406:32;32370:6;32423;32406:32;:::i;32449:560::-;32546:6;32554;32607:2;32595:9;32586:7;32582:23;32578:32;32575:52;;;32623:1;32620;32613:12;32575:52;32656:9;32650:16;-1:-1:-1;;;;;32726:2:20;32718:6;32715:14;32712:34;;;32742:1;32739;32732:12;32712:34;32765:61;32818:7;32809:6;32798:9;32794:22;32765:61;:::i", + "linkReferences": {} }, - "bytecode": { - "object": "0x60806040523480156200001157600080fd5b50604051620029ec380380620029ec833981016040819052620000349162000060565b6000620000428282620001c4565b505062000290565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200007457600080fd5b82516001600160401b03808211156200008c57600080fd5b818501915085601f830112620000a157600080fd5b815181811115620000b657620000b66200004a565b604051601f8201601f19908116603f01168101908382118183101715620000e157620000e16200004a565b816040528281528886848701011115620000fa57600080fd5b600093505b828410156200011e5784840186015181850187015292850192620000ff565b600086848301015280965050505050505092915050565b600181811c908216806200014a57607f821691505b6020821081036200016b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf57600081815260208120601f850160051c810160208610156200019a5750805b601f850160051c820191505b81811015620001bb57828155600101620001a6565b5050505b505050565b81516001600160401b03811115620001e057620001e06200004a565b620001f881620001f1845462000135565b8462000171565b602080601f831160018114620002305760008415620002175750858301515b600019600386901b1c1916600185901b178555620001bb565b600085815260208120601f198616915b82811015620002615788860151825594840194600190910190840162000240565b5085821015620002805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61274c80620002a06000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "buildAndEmit((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "4c8820f8", + "buildFromPool((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "ebb89de4", + "buildMevShare((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "54dfbd39", + "doBuild((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "c2eceb11", + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "emitBuilderBidAndBid((bytes16,bytes16,uint64,address[],address[],string),bytes)": "b33e4715", + "fetchBidConfidentialBundleData()": "92f07a58", + "idsEqual(bytes16,bytes16)": "e829cd5d", + "unlock(bytes16,bytes)": "7df1cde2" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"boostRelayUrl_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"BuilderBoostBidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"buildAndEmit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildFromPool\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildMevShare\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"doBuild\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"emitBuilderBidAndBid\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"_l\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"_r\",\"type\":\"bytes16\"}],\"name\":\"idsEqual\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"bytes\",\"name\":\"signedBlindedHeader\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"EthBlockBidSenderContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "boostRelayUrl_", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "bytes", + "name": "builderBid", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "BuilderBoostBidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + }, + { + "internalType": "Suave.BidId[]", + "name": "bids", + "type": "bytes16[]" + }, + { + "internalType": "string", + "name": "namespace", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "buildAndEmit", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "buildFromPool", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "buildMevShare", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.BuildBlockArgs", + "name": "blockArgs", + "type": "tuple", + "components": [ + { + "internalType": "uint64", + "name": "slot", + "type": "uint64" + }, + { + "internalType": "bytes", + "name": "proposerPubkey", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "parent", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + }, + { + "internalType": "address", + "name": "feeRecipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "gasLimit", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "random", + "type": "bytes32" + }, + { + "internalType": "struct Suave.Withdrawal[]", + "name": "withdrawals", + "type": "tuple[]", + "components": [ + { + "internalType": "uint64", + "name": "index", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "validator", + "type": "uint64" + }, + { + "internalType": "address", + "name": "Address", + "type": "address" + }, + { + "internalType": "uint64", + "name": "amount", + "type": "uint64" + } + ] + } + ] + }, + { + "internalType": "uint64", + "name": "blockHeight", + "type": "uint64" + }, + { + "internalType": "Suave.BidId[]", + "name": "bids", + "type": "bytes16[]" + }, + { + "internalType": "string", + "name": "namespace", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "name": "doBuild", + "outputs": [ + { + "internalType": "struct Suave.Bid", + "name": "", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "builderBid", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBuilderBidAndBid", + "outputs": [ + { + "internalType": "struct Suave.Bid", + "name": "", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "_l", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "_r", + "type": "bytes16" + } + ], + "stateMutability": "pure", + "type": "function", + "name": "idsEqual", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16" + }, + { + "internalType": "bytes", + "name": "signedBlindedHeader", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function", + "name": "unlock", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "EthBlockBidSenderContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/EthBundleSenderContract.json b/suave/artifacts/bids.sol/EthBundleSenderContract.json index f533eb9ced..9c9ebef64d 100644 --- a/suave/artifacts/bids.sol/EthBundleSenderContract.json +++ b/suave/artifacts/bids.sol/EthBundleSenderContract.json @@ -159,10 +159,19524 @@ "type": "function" } ], + "bytecode": { + "object": "0x60806040523480156200001157600080fd5b506040516200161038038062001610833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111f080620004206000396000f3fe60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a", + "sourceMap": "1531:482:18:-:0;;;1619:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1665:26;;;;:11;;:26;;;;;:::i;:::-;;1619:76;1531:482;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1531:482:18;;;-1:-1:-1;1531:482:18;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;14:127:20;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:20;247:40;;-1:-1:-1;;;;;302:34:20;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:20:o;426:1899::-;531:6;562:2;605;593:9;584:7;580:23;576:32;573:52;;;621:1;618;611:12;573:52;648:16;;-1:-1:-1;;;;;713:14:20;;;710:34;;;740:1;737;730:12;710:34;778:6;767:9;763:22;753:32;;804:4;844:7;839:2;835;831:11;827:25;817:53;;866:1;863;856:12;817:53;895:2;889:9;917:2;913;910:10;907:36;;;923:18;;:::i;:::-;969:2;966:1;962:10;992:28;1016:2;1012;1008:11;992:28;:::i;:::-;1054:15;;;1124:11;;;1120:20;;;1085:12;;;;1152:19;;;1149:39;;;1184:1;1181;1174:12;1149:39;1216:2;1212;1208:11;1197:22;;1228:1067;1244:6;1239:3;1236:15;1228:1067;;;1323:3;1317:10;1359:2;1346:11;1343:19;1340:109;;;1403:1;1432:2;1428;1421:14;1340:109;1472:20;;1527:2;1519:11;;1515:25;-1:-1:-1;1505:123:20;;1582:1;1611:2;1607;1600:14;1505:123;1666:2;1662;1658:11;1652:18;1694:2;1689:3;1686:11;1683:37;;;1700:18;;:::i;:::-;1746:52;1770:12;;;-1:-1:-1;;1766:26:20;1762:35;;1746:52;:::i;:::-;1825:3;1818:5;1811:18;1853:2;1898:7;1892:3;1886;1882:2;1878:12;1874:22;1871:35;1868:128;;;1948:1;1978:3;1973;1966:16;1868:128;2018:1;2032:142;2046:3;2043:1;2040:10;2032:142;;;2142:10;;;2138:20;;2132:27;2112:13;;;2108:22;;2101:59;2058:10;;2032:142;;;-1:-1:-1;;2220:1:20;2198:15;;;2194:24;;2187:35;;;;2235:18;;-1:-1:-1;1261:12:20;;;;2273;;;;1228:1067;;;2314:5;426:1899;-1:-1:-1;;;;;;;;;;426:1899:20:o;2330:380::-;2409:1;2405:12;;;;2452;;;2473:61;;2527:4;2519:6;2515:17;2505:27;;2473:61;2580:2;2572:6;2569:14;2549:18;2546:38;2543:161;;2626:10;2621:3;2617:20;2614:1;2607:31;2661:4;2658:1;2651:15;2689:4;2686:1;2679:15;2543:161;;2330:380;;;:::o;2841:545::-;2943:2;2938:3;2935:11;2932:448;;;2979:1;3004:5;3000:2;2993:17;3049:4;3045:2;3035:19;3119:2;3107:10;3103:19;3100:1;3096:27;3090:4;3086:38;3155:4;3143:10;3140:20;3137:47;;;-1:-1:-1;3178:4:20;3137:47;3233:2;3228:3;3224:12;3221:1;3217:20;3211:4;3207:31;3197:41;;3288:82;3306:2;3299:5;3296:13;3288:82;;;3351:17;;;3332:1;3321:13;3288:82;;;3292:3;;;2932:448;2841:545;;;:::o;3562:1352::-;3682:10;;-1:-1:-1;;;;;3704:30:20;;3701:56;;;3737:18;;:::i;:::-;3766:97;3856:6;3816:38;3848:4;3842:11;3816:38;:::i;:::-;3810:4;3766:97;:::i;:::-;3918:4;;3982:2;3971:14;;3999:1;3994:663;;;;4701:1;4718:6;4715:89;;;-1:-1:-1;4770:19:20;;;4764:26;4715:89;-1:-1:-1;;3519:1:20;3515:11;;;3511:24;3507:29;3497:40;3543:1;3539:11;;;3494:57;4817:81;;3964:944;;3994:663;2788:1;2781:14;;;2825:4;2812:18;;-1:-1:-1;;4030:20:20;;;4148:236;4162:7;4159:1;4156:14;4148:236;;;4251:19;;;4245:26;4230:42;;4343:27;;;;4311:1;4299:14;;;;4178:19;;4148:236;;;4152:3;4412:6;4403:7;4400:19;4397:201;;;4473:19;;;4467:26;-1:-1:-1;;4556:1:20;4552:14;;;4568:3;4548:24;4544:37;4540:42;4525:58;4510:74;;4397:201;-1:-1:-1;;;;;4644:1:20;4628:14;;;4624:22;4611:36;;-1:-1:-1;3562:1352:20:o;:::-;1531:482:18;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a" + "object": "0x60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a", + "sourceMap": "1531:482:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1588:27;;;;;;;;;;-1:-1:-1;1588:27:18;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;642:646;;;;;;:::i;:::-;;:::i;187:228::-;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;:::-;;1588:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;642:646::-;783:12;809:22;:20;:22::i;:::-;801:31;;;;;;837:23;863:4;-1:-1:-1;;;;;863:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;863:37:18;;;;;;;;;;;;:::i;:::-;837:63;;905:10;918:32;939:10;918:20;:32::i;:::-;905:45;;955:20;978:95;991:19;1012:17;1031:16;978:95;;;;;;;;;;;;;-1:-1:-1;;;978:95:18;;;:12;:95::i;:::-;955:118;;1078:73;1107:3;:6;;;1078:73;;;;;;;;;;;;;-1:-1:-1;;;1078:73:18;;;1140:10;1078:28;:73::i;:::-;1184:6;;1155:87;;;;;;;;;;;;;;;;;;;;1226:15;;-1:-1:-1;;;;;5574:31:20;;1226:15:18;;;5556:50:20;1226:15:18;;;;;;;;;;5529:18:20;;1226:15:18;;;1155:87;;1184:6;1155:28;:87::i;:::-;1254:30;1268:3;1273:10;1254:13;:30::i;:::-;1247:37;;;;;642:646;;;;;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;1698:313:18:-;1803:12;1826:6;1821:127;1842:11;:18;1838:22;;1821:127;;;1872:71;1898:11;1910:1;1898:14;;;;;;;;:::i;:::-;;;;;;;;1872:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1872:71:18;;;1932:10;1872:25;:71::i;:::-;-1:-1:-1;1862:3:18;;;;:::i;:::-;;;;1821:127;;;;1959:48;1991:3;1996:10;1959:31;:48::i;3051:282:14:-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;6605:431::-;6743:12;6779:16;:14;:16::i;:::-;6771:25;;;;;;6807:12;6821:17;1878:42;-1:-1:-1;;;;;6842:33:14;6887:3;6892:6;6900;6876:31;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6876:31:14;;;;;;;;;;6842:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6806:102;;;;6923:7;6918:90;;1878:42;6992:4;6953:44;;-1:-1:-1;;;6953:44:14;;;;;;;;;:::i;6918:90::-;7025:4;6605:431;-1:-1:-1;;;;;6605:431:14:o;1291:236:18:-;1376:12;1399:61;1408:3;:6;;;1416:3;:23;;;1441:3;:18;;;1399:61;;;;;;;;:::i;:::-;;;;;;;;1507:15;;-1:-1:-1;;;1484:21:18;1507:15;;1518:3;;1507:15;;;:::i;:::-;;;;-1:-1:-1;;1507:15:18;;;;;;;;;;1471:52;;;1507:15;1471:52;;:::i;:::-;;;;;;;;;;;;;1464:59;;1291:236;;;;:::o;14:180:20:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:20;;14:180;-1:-1:-1;14:180:20:o;199:250::-;284:1;294:113;308:6;305:1;302:13;294:113;;;384:11;;;378:18;365:11;;;358:39;330:2;323:10;294:113;;;-1:-1:-1;;441:1:20;423:16;;416:27;199:250::o;454:271::-;496:3;534:5;528:12;561:6;556:3;549:19;577:76;646:6;639:4;634:3;630:14;623:4;616:5;612:16;577:76;:::i;:::-;707:2;686:15;-1:-1:-1;;682:29:20;673:39;;;;714:4;669:50;;454:271;-1:-1:-1;;454:271:20:o;730:220::-;879:2;868:9;861:21;842:4;899:45;940:2;929:9;925:18;917:6;899:45;:::i;955:129::-;-1:-1:-1;;;;;1033:5:20;1029:30;1022:5;1019:41;1009:69;;1074:1;1071;1064:12;1009:69;955:129;:::o;1089:127::-;1150:10;1145:3;1141:20;1138:1;1131:31;1181:4;1178:1;1171:15;1205:4;1202:1;1195:15;1221:253;1293:2;1287:9;1335:4;1323:17;;-1:-1:-1;;;;;1355:34:20;;1391:22;;;1352:62;1349:88;;;1417:18;;:::i;:::-;1453:2;1446:22;1221:253;:::o;1479:275::-;1550:2;1544:9;1615:2;1596:13;;-1:-1:-1;;1592:27:20;1580:40;;-1:-1:-1;;;;;1635:34:20;;1671:22;;;1632:62;1629:88;;;1697:18;;:::i;:::-;1733:2;1726:22;1479:275;;-1:-1:-1;1479:275:20:o;1759:183::-;1819:4;-1:-1:-1;;;;;1844:6:20;1841:30;1838:56;;;1874:18;;:::i;:::-;-1:-1:-1;1919:1:20;1915:14;1931:4;1911:25;;1759:183::o;1947:131::-;-1:-1:-1;;;;;2022:31:20;;2012:42;;2002:70;;2068:1;2065;2058:12;2083:737;2137:5;2190:3;2183:4;2175:6;2171:17;2167:27;2157:55;;2208:1;2205;2198:12;2157:55;2244:6;2231:20;2270:4;2294:60;2310:43;2350:2;2310:43;:::i;:::-;2294:60;:::i;:::-;2388:15;;;2474:1;2470:10;;;;2458:23;;2454:32;;;2419:12;;;;2498:15;;;2495:35;;;2526:1;2523;2516:12;2495:35;2562:2;2554:6;2550:15;2574:217;2590:6;2585:3;2582:15;2574:217;;;2670:3;2657:17;2687:31;2712:5;2687:31;:::i;:::-;2731:18;;2769:12;;;;2607;;2574:217;;;-1:-1:-1;2809:5:20;2083:737;-1:-1:-1;;;;;;2083:737:20:o;2825:728::-;2951:6;2959;2967;3020:2;3008:9;2999:7;2995:23;2991:32;2988:52;;;3036:1;3033;3026:12;2988:52;3075:9;3062:23;3094:30;3118:5;3094:30;:::i;:::-;3143:5;-1:-1:-1;3199:2:20;3184:18;;3171:32;-1:-1:-1;;;;;3252:14:20;;;3249:34;;;3279:1;3276;3269:12;3249:34;3302:61;3355:7;3346:6;3335:9;3331:22;3302:61;:::i;:::-;3292:71;;3416:2;3405:9;3401:18;3388:32;3372:48;;3445:2;3435:8;3432:16;3429:36;;;3461:1;3458;3451:12;3429:36;;3484:63;3539:7;3528:8;3517:9;3513:24;3484:63;:::i;:::-;3474:73;;;2825:728;;;;;:::o;3781:384::-;3864:6;3917:2;3905:9;3896:7;3892:23;3888:32;3885:52;;;3933:1;3930;3923:12;3885:52;3973:9;3960:23;-1:-1:-1;;;;;3998:6:20;3995:30;3992:50;;;4038:1;4035;4028:12;3992:50;4061:22;;4117:3;4099:16;;;4095:26;4092:46;;;4134:1;4131;4124:12;4170:380;4249:1;4245:12;;;;4292;;;4313:61;;4367:4;4359:6;4355:17;4345:27;;4313:61;4420:2;4412:6;4409:14;4389:18;4386:38;4383:161;;4466:10;4461:3;4457:20;4454:1;4447:31;4501:4;4498:1;4491:15;4529:4;4526:1;4519:15;4383:161;;4170:380;;;:::o;4555:390::-;4630:5;-1:-1:-1;;;;;4656:6:20;4653:30;4650:56;;;4686:18;;:::i;:::-;4724:57;4769:2;4748:15;;-1:-1:-1;;4744:29:20;4775:4;4740:40;4724:57;:::i;:::-;4715:66;;4804:6;4797:5;4790:21;4844:3;4835:6;4830:3;4826:16;4823:25;4820:45;;;4861:1;4858;4851:12;4820:45;4874:65;4932:6;4925:4;4918:5;4914:16;4909:3;4874:65;:::i;4950:457::-;5029:6;5082:2;5070:9;5061:7;5057:23;5053:32;5050:52;;;5098:1;5095;5088:12;5050:52;5131:9;5125:16;-1:-1:-1;;;;;5156:6:20;5153:30;5150:50;;;5196:1;5193;5186:12;5150:50;5219:22;;5272:4;5264:13;;5260:27;-1:-1:-1;5250:55:20;;5301:1;5298;5291:12;5250:55;5324:77;5393:7;5388:2;5382:9;5377:2;5373;5369:11;5324:77;:::i;5617:170::-;-1:-1:-1;;5711:51:20;;5701:62;;5691:90;;5777:1;5774;5767:12;5792:293;5878:6;5931:2;5919:9;5910:7;5906:23;5902:32;5899:52;;;5947:1;5944;5937:12;5899:52;5986:9;5973:23;6005:50;6049:5;6005:50;:::i;6090:245::-;6148:6;6201:2;6189:9;6180:7;6176:23;6172:32;6169:52;;;6217:1;6214;6207:12;6169:52;6256:9;6243:23;6275:30;6299:5;6275:30;:::i;6340:545::-;6433:4;6439:6;6499:11;6486:25;6593:2;6589:7;6578:8;6562:14;6558:29;6554:43;6534:18;6530:68;6520:96;;6612:1;6609;6602:12;6520:96;6639:33;;6691:20;;;-1:-1:-1;;;;;;6723:30:20;;6720:50;;;6766:1;6763;6756:12;6720:50;6799:4;6787:17;;-1:-1:-1;6850:1:20;6846:14;;;6830;6826:35;6816:46;;6813:66;;;6875:1;6872;6865:12;6813:66;6340:545;;;;;:::o;6890:944::-;7123:4;7171:2;7160:9;7156:18;-1:-1:-1;;;;;7213:39:20;7205:6;7201:52;7190:9;7183:71;7273:2;-1:-1:-1;;;;;7315:6:20;7311:31;7306:2;7295:9;7291:18;7284:59;7379:2;7374;7363:9;7359:18;7352:30;7402:6;7432;7424;7417:22;7470:3;7459:9;7455:19;7448:26;;7497:6;7483:20;;7521:1;7531:277;7545:6;7542:1;7539:13;7531:277;;;7620:6;7607:20;7640:31;7665:5;7640:31;:::i;:::-;-1:-1:-1;;;;;7696:31:20;7684:44;;7783:15;;;;7748:12;;;;7724:1;7560:9;7531:277;;;-1:-1:-1;7825:3:20;6890:944;-1:-1:-1;;;;;;;;6890:944:20:o;8049:315::-;-1:-1:-1;;;;;8224:32:20;;8206:51;;8293:2;8288;8273:18;;8266:30;;;-1:-1:-1;;8313:45:20;;8339:18;;8331:6;8313:45;:::i;8369:287::-;8498:3;8536:6;8530:13;8552:66;8611:6;8606:3;8599:4;8591:6;8587:17;8552:66;:::i;:::-;8634:16;;;;;8369:287;-1:-1:-1;;8369:287:20:o;8661:136::-;8739:13;;8761:30;8739:13;8761:30;:::i;:::-;8661:136;;;:::o;8802:249::-;8871:6;8924:2;8912:9;8903:7;8899:23;8895:32;8892:52;;;8940:1;8937;8930:12;8892:52;8972:9;8966:16;8991:30;9015:5;8991:30;:::i;9056:461::-;9109:3;9147:5;9141:12;9174:6;9169:3;9162:19;9200:4;9229:2;9224:3;9220:12;9213:19;;9266:2;9259:5;9255:14;9287:1;9297:195;9311:6;9308:1;9305:13;9297:195;;;9376:13;;-1:-1:-1;;;;;9372:39:20;9360:52;;9432:12;;;;9467:15;;;;9408:1;9326:9;9297:195;;;-1:-1:-1;9508:3:20;;9056:461;-1:-1:-1;;;;;9056:461:20:o;9522:724::-;-1:-1:-1;;;;;9857:6:20;9853:31;9842:9;9835:50;9921:3;9916:2;9905:9;9901:18;9894:31;9816:4;9948:57;10000:3;9989:9;9985:19;9977:6;9948:57;:::i;:::-;10053:9;10045:6;10041:22;10036:2;10025:9;10021:18;10014:50;10087:44;10124:6;10116;10087:44;:::i;:::-;10073:58;;10179:9;10171:6;10167:22;10162:2;10151:9;10147:18;10140:50;10207:33;10233:6;10225;10207:33;:::i;10251:176::-;10349:13;;10371:50;10349:13;10371:50;:::i;10432:734::-;10497:5;10550:3;10543:4;10535:6;10531:17;10527:27;10517:55;;10568:1;10565;10558:12;10517:55;10597:6;10591:13;10623:4;10647:60;10663:43;10703:2;10663:43;:::i;10647:60::-;10741:15;;;10827:1;10823:10;;;;10811:23;;10807:32;;;10772:12;;;;10851:15;;;10848:35;;;10879:1;10876;10869:12;10848:35;10915:2;10907:6;10903:15;10927:210;10943:6;10938:3;10935:15;10927:210;;;11016:3;11010:10;11033:31;11058:5;11033:31;:::i;:::-;11077:18;;11115:12;;;;10960;;10927:210;;11171:236;11225:5;11278:3;11271:4;11263:6;11259:17;11255:27;11245:55;;11296:1;11293;11286:12;11245:55;11318:83;11397:3;11388:6;11382:13;11375:4;11367:6;11363:17;11318:83;:::i;11412:1256::-;11504:6;11557:2;11545:9;11536:7;11532:23;11528:32;11525:52;;;11573:1;11570;11563:12;11525:52;11606:9;11600:16;-1:-1:-1;;;;;11676:2:20;11668:6;11665:14;11662:34;;;11692:1;11689;11682:12;11662:34;11715:22;;;;11771:4;11753:16;;;11749:27;11746:47;;;11789:1;11786;11779:12;11746:47;11815:22;;:::i;:::-;11860:52;11909:2;11860:52;:::i;:::-;11853:5;11846:67;11945:61;12002:2;11998;11994:11;11945:61;:::i;:::-;11940:2;11933:5;11929:14;11922:85;12039:41;12076:2;12072;12068:11;12039:41;:::i;:::-;12034:2;12027:5;12023:14;12016:65;12120:2;12116;12112:11;12106:18;12149:2;12139:8;12136:16;12133:36;;;12165:1;12162;12155:12;12133:36;12201:67;12260:7;12249:8;12245:2;12241:17;12201:67;:::i;:::-;12196:2;12189:5;12185:14;12178:91;;12308:3;12304:2;12300:12;12294:19;12338:2;12328:8;12325:16;12322:36;;;12354:1;12351;12344:12;12322:36;12391:67;12450:7;12439:8;12435:2;12431:17;12391:67;:::i;:::-;12385:3;12378:5;12374:15;12367:92;;12498:3;12494:2;12490:12;12484:19;12528:2;12518:8;12515:16;12512:36;;;12544:1;12541;12534:12;12512:36;12581:56;12629:7;12618:8;12614:2;12610:17;12581:56;:::i;:::-;12575:3;12564:15;;12557:81;-1:-1:-1;12568:5:20;11412:1256;-1:-1:-1;;;;;11412:1256:20:o;12673:525::-;-1:-1:-1;;;;;12935:39:20;12927:6;12923:52;12912:9;12905:71;13012:2;13007;12996:9;12992:18;12985:30;12886:4;13038:45;13079:2;13068:9;13064:18;13056:6;13038:45;:::i;:::-;13131:9;13123:6;13119:22;13114:2;13103:9;13099:18;13092:50;13159:33;13185:6;13177;13159:33;:::i;:::-;13151:41;12673:525;-1:-1:-1;;;;;;12673:525:20:o;13203:127::-;13264:10;13259:3;13255:20;13252:1;13245:31;13295:4;13292:1;13285:15;13319:4;13316:1;13309:15;13335:232;13374:3;13395:17;;;13392:140;;13454:10;13449:3;13445:20;13442:1;13435:31;13489:4;13486:1;13479:15;13517:4;13514:1;13507:15;13392:140;-1:-1:-1;13559:1:20;13548:13;;13335:232::o;13572:544::-;13815:2;13804:9;13797:21;13778:4;13841:45;13882:2;13871:9;13867:18;13859:6;13841:45;:::i;:::-;13934:9;13926:6;13922:22;13917:2;13906:9;13902:18;13895:50;13968:33;13994:6;13986;13968:33;:::i;:::-;13954:47;;14049:9;14041:6;14037:22;14032:2;14021:9;14017:18;14010:50;14077:33;14103:6;14095;14077:33;:::i;14121:499::-;-1:-1:-1;;;;;14393:39:20;14385:6;14381:52;14370:9;14363:71;-1:-1:-1;;;;;14474:6:20;14470:31;14465:2;14454:9;14450:18;14443:59;14538:2;14533;14522:9;14518:18;14511:30;14344:4;14558:56;14610:2;14599:9;14595:18;14587:6;14558:56;:::i;14625:1036::-;14798:2;14787:9;14780:21;14761:4;-1:-1:-1;;;;;14820:39:20;14914:2;14905:6;14899:13;14895:22;14890:2;14879:9;14875:18;14868:50;14982:2;14976;14968:6;14964:15;14958:22;14954:31;14949:2;14938:9;14934:18;14927:59;;-1:-1:-1;;;;;15044:2:20;15036:6;15032:15;15026:22;15022:47;15017:2;15006:9;15002:18;14995:75;15117:2;15109:6;15105:15;15099:22;15158:4;15152:3;15141:9;15137:19;15130:33;15186:63;15244:3;15233:9;15229:19;15215:12;15186:63;:::i;:::-;15172:77;;15298:3;15290:6;15286:16;15280:23;15326:2;15322:7;15394:2;15382:9;15374:6;15370:22;15366:31;15360:3;15349:9;15345:19;15338:60;15421:52;15466:6;15450:14;15421:52;:::i;:::-;15407:66;;15522:3;15514:6;15510:16;15504:23;15482:45;;15593:2;15581:9;15573:6;15569:22;15565:31;15558:4;15547:9;15543:20;15536:61;;15614:41;15648:6;15632:14;15614:41;:::i;15666:384::-;-1:-1:-1;;;;;;15851:33:20;;15839:46;;15908:13;;15821:3;;15930:74;15908:13;15993:1;15984:11;;15977:4;15965:17;;15930:74;:::i;:::-;16024:16;;;;16042:1;16020:24;;15666:384;-1:-1:-1;;;15666:384:20:o", + "linkReferences": {} }, - "bytecode": { - "object": "0x60806040523480156200001157600080fd5b506040516200161038038062001610833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111f080620004206000396000f3fe60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "builderUrls(uint256)": "1141a0b0", + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "fetchBidConfidentialBundleData()": "92f07a58", + "newBid(uint64,address[],address[])": "236eb5a7" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"builderUrls_\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"builderUrls\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"EthBundleSenderContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string[]", + "name": "builderUrls_", + "type": "string[]" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "name": "builderUrls", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "bidAllowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "bidAllowedStores", + "type": "address[]" + } + ], + "stateMutability": "payable", + "type": "function", + "name": "newBid", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "EthBundleSenderContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/MevShareBidContract.json b/suave/artifacts/bids.sol/MevShareBidContract.json index 10eed15271..3924b28263 100644 --- a/suave/artifacts/bids.sol/MevShareBidContract.json +++ b/suave/artifacts/bids.sol/MevShareBidContract.json @@ -251,10 +251,19616 @@ "type": "function" } ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5061154c806100206000396000f3fe60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", + "sourceMap": "2015:2874:18:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" + "object": "0x60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", + "sourceMap": "2015:2874:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2191:1042;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3236:180;;;;;;;;;;-1:-1:-1;3236:180:18;;;;;:::i;:::-;;:::i;:::-;;187:228;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;3419:1174::-;;;;;;:::i;:::-;;:::i;2191:1042::-;2332:12;2395:22;:20;:22::i;:::-;2387:31;;;;;;2449:23;2475:4;-1:-1:-1;;;;;2475:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2475:37:18;;;;;;;;;;;;:::i;:::-;2449:63;;2536:10;2549:32;2570:10;2549:20;:32::i;:::-;2536:45;;2609:17;2629:29;2647:10;2629:17;:29::i;:::-;2609:49;;2705:20;2728:102;2741:19;2762:17;2781:16;2728:102;;;;;;;;;;;;;;;;;:12;:102::i;:::-;2705:125;;2834:74;2863:3;:6;;;2834:74;;;;;;;;;;;;;-1:-1:-1;;;2834:74:18;;;2897:10;2834:28;:74::i;:::-;2941:6;;2912:88;;;;;;;;;;;;;;;;;;;;2984:15;;-1:-1:-1;;;;;7040:31:20;;2984:15:18;;;7022:50:20;;;;2912:88:18;;2941:6;6995:18:20;2984:15:18;;;;;;;;;;;;;2912:28;:88::i;:::-;-1:-1:-1;;;;;;;;;;;3018:3:18;:6;;;3026:3;:23;;;3051:3;:18;;;3009:61;;;;;;;;:::i;:::-;;;;;;;;3089:6;;3079:23;;;;;;3097:4;;3079:23;:::i;:::-;;;;;;;;3207:21;;-1:-1:-1;;;3177:28:18;3207:21;;3218:3;;3223:4;;3207:21;;;:::i;:::-;;;;-1:-1:-1;;3207:21:18;;;;;;;;;;3164:65;;;3207:21;3164:65;;:::i;:::-;;;;;;;;;;;;;3157:72;;;;;;2191:1042;;;;;;:::o;3236:180::-;-1:-1:-1;;;;;;;;;;;3328:6:18;;;;:3;:6;:::i;:::-;3336:23;;;;;;;;:::i;:::-;3361:18;;;;:3;:18;:::i;:::-;3319:61;;;;;;;;;:::i;:::-;;;;;;;;3389:23;3399:6;;;;:3;:6;:::i;:::-;3407:4;3389:23;;;;;;;:::i;:::-;;;;;;;;3236:180;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;-1:-1:-1;;;;;;;;;;;533:6:18;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;3419:1174::-;3586:12;3741:22;:20;:22::i;:::-;3733:31;;;;;;3800:28;3831:4;-1:-1:-1;;;;;3831:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3831:37:18;;;;;;;;;;;;:::i;:::-;3800:68;;3910:10;3923:37;3944:15;3923:20;:37::i;:::-;3910:50;;3986:22;4011:34;4029:15;4011:17;:34::i;:::-;3986:59;;4052:20;4075:95;4088:19;4109:17;4128:16;4075:95;;;;;;;;;;;;;-1:-1:-1;;;4075:95:18;;;:12;:95::i;:::-;4052:118;;4174:79;4203:3;:6;;;4174:79;;;;;;;;;;;;;-1:-1:-1;;;4174:79:18;;;4237:15;4174:28;:79::i;:::-;4286:6;;4257:86;;;;;;;;;;;;;;;;;;;;4329:13;;4286:6;4329:13;;;12234:36:20;;;;4257:86:18;;4286:6;12207:18:20;4329:13:18;12082:194:20;4257:86:18;4394:20;;;4412:1;4394:20;;;;;;;;4366:25;;4394:20;;;;;;;;;;-1:-1:-1;4394:20:18;4366:48;;4428:10;4418:4;4423:1;4418:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;4418:20:18;;;:7;;;;;;;;;;;:20;4452:6;;4442:7;;:4;;4447:1;;4442:7;;;;;;:::i;:::-;-1:-1:-1;;;;;;4442:16:18;;;:7;;;;;;;;;;:16;4491:6;;4462:80;;;;;;;;;;;-1:-1:-1;;;4462:80:18;;;;4525:16;;4462:80;;4525:16;;4536:4;;4525:16;;:::i;4462:80::-;4554:35;4574:3;4579:9;4554:19;:35::i;:::-;4547:42;3419:1174;-1:-1:-1;;;;;;;;;;3419:1174:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;4349:329::-;4418:12;4450:16;:14;:16::i;:::-;4442:25;;;;;;4478:12;4492:17;1327:42;-1:-1:-1;;;;;4513:23:14;4548:10;4537:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4537:22:14;;;;;;;;;;4513:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4477:83;;;;4575:7;4570:80;;1327:42;4634:4;4605:34;;-1:-1:-1;;;4605:34:14;;;;;;;;;:::i;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;4596:291:18:-;4697:12;-1:-1:-1;;;;;;;;;;;4729:3:18;:6;;;4737:3;:23;;;4762:3;:18;;;4720:61;;;;;;;;:::i;:::-;;;;;;;;4801:6;;4790:29;;;;;;4809:9;;4790:29;:::i;:::-;;;;;;;;4867:15;;-1:-1:-1;;;4844:21:18;4867:15;;4878:3;;4867:15;;;:::i;:::-;;;;-1:-1:-1;;4867:15:18;;;;;;;;;;4831:52;;;4867:15;4831:52;;:::i;:::-;;;;;;;;;;;;;4824:59;;4596:291;;;;:::o;14:129:20:-;-1:-1:-1;;;;;92:5:20;88:30;81:5;78:41;68:69;;133:1;130;123:12;68:69;14:129;:::o;148:127::-;209:10;204:3;200:20;197:1;190:31;240:4;237:1;230:15;264:4;261:1;254:15;280:253;352:2;346:9;394:4;382:17;;-1:-1:-1;;;;;414:34:20;;450:22;;;411:62;408:88;;;476:18;;:::i;:::-;512:2;505:22;280:253;:::o;538:275::-;609:2;603:9;674:2;655:13;;-1:-1:-1;;651:27:20;639:40;;-1:-1:-1;;;;;694:34:20;;730:22;;;691:62;688:88;;;756:18;;:::i;:::-;792:2;785:22;538:275;;-1:-1:-1;538:275:20:o;818:183::-;878:4;-1:-1:-1;;;;;903:6:20;900:30;897:56;;;933:18;;:::i;:::-;-1:-1:-1;978:1:20;974:14;990:4;970:25;;818:183::o;1006:131::-;-1:-1:-1;;;;;1081:31:20;;1071:42;;1061:70;;1127:1;1124;1117:12;1142:737;1196:5;1249:3;1242:4;1234:6;1230:17;1226:27;1216:55;;1267:1;1264;1257:12;1216:55;1303:6;1290:20;1329:4;1353:60;1369:43;1409:2;1369:43;:::i;:::-;1353:60;:::i;:::-;1447:15;;;1533:1;1529:10;;;;1517:23;;1513:32;;;1478:12;;;;1557:15;;;1554:35;;;1585:1;1582;1575:12;1554:35;1621:2;1613:6;1609:15;1633:217;1649:6;1644:3;1641:15;1633:217;;;1729:3;1716:17;1746:31;1771:5;1746:31;:::i;:::-;1790:18;;1828:12;;;;1666;;1633:217;;;-1:-1:-1;1868:5:20;1142:737;-1:-1:-1;;;;;;1142:737:20:o;1884:728::-;2010:6;2018;2026;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;2134:9;2121:23;2153:30;2177:5;2153:30;:::i;:::-;2202:5;-1:-1:-1;2258:2:20;2243:18;;2230:32;-1:-1:-1;;;;;2311:14:20;;;2308:34;;;2338:1;2335;2328:12;2308:34;2361:61;2414:7;2405:6;2394:9;2390:22;2361:61;:::i;:::-;2351:71;;2475:2;2464:9;2460:18;2447:32;2431:48;;2504:2;2494:8;2491:16;2488:36;;;2520:1;2517;2510:12;2488:36;;2543:63;2598:7;2587:8;2576:9;2572:24;2543:63;:::i;:::-;2533:73;;;1884:728;;;;;:::o;2617:250::-;2702:1;2712:113;2726:6;2723:1;2720:13;2712:113;;;2802:11;;;2796:18;2783:11;;;2776:39;2748:2;2741:10;2712:113;;;-1:-1:-1;;2859:1:20;2841:16;;2834:27;2617:250::o;2872:270::-;2913:3;2951:5;2945:12;2978:6;2973:3;2966:19;2994:76;3063:6;3056:4;3051:3;3047:14;3040:4;3033:5;3029:16;2994:76;:::i;:::-;3124:2;3103:15;-1:-1:-1;;3099:29:20;3090:39;;;;3131:4;3086:50;;2872:270;-1:-1:-1;;2872:270:20:o;3147:217::-;3294:2;3283:9;3276:21;3257:4;3314:44;3354:2;3343:9;3339:18;3331:6;3314:44;:::i;3369:152::-;3425:5;3470:3;3461:6;3456:3;3452:16;3448:26;3445:46;;;3487:1;3484;3477:12;3445:46;-1:-1:-1;3509:6:20;3369:152;-1:-1:-1;3369:152:20:o;3526:186::-;3574:4;-1:-1:-1;;;;;3599:6:20;3596:30;3593:56;;;3629:18;;:::i;:::-;-1:-1:-1;3695:2:20;3674:15;-1:-1:-1;;3670:29:20;3701:4;3666:40;;3526:186::o;3717:919::-;3818:6;3826;3879:2;3867:9;3858:7;3854:23;3850:32;3847:52;;;3895:1;3892;3885:12;3847:52;3935:9;3922:23;-1:-1:-1;;;;;4005:2:20;3997:6;3994:14;3991:34;;;4021:1;4018;4011:12;3991:34;4044:63;4099:7;4090:6;4079:9;4075:22;4044:63;:::i;:::-;4034:73;;4160:2;4149:9;4145:18;4132:32;4116:48;;4189:2;4179:8;4176:16;4173:36;;;4205:1;4202;4195:12;4173:36;-1:-1:-1;4228:24:20;;4283:4;4275:13;;4271:27;-1:-1:-1;4261:55:20;;4312:1;4309;4302:12;4261:55;4348:2;4335:16;4373:48;4389:31;4417:2;4389:31;:::i;4373:48::-;4444:2;4437:5;4430:17;4484:7;4479:2;4474;4470;4466:11;4462:20;4459:33;4456:53;;;4505:1;4502;4495:12;4456:53;4560:2;4555;4551;4547:11;4542:2;4535:5;4531:14;4518:45;4604:1;4599:2;4594;4587:5;4583:14;4579:23;4572:34;4625:5;4615:15;;;;;3717:919;;;;;:::o;4641:349::-;4724:6;4777:2;4765:9;4756:7;4752:23;4748:32;4745:52;;;4793:1;4790;4783:12;4745:52;4833:9;4820:23;-1:-1:-1;;;;;4858:6:20;4855:30;4852:50;;;4898:1;4895;4888:12;4852:50;4921:63;4976:7;4967:6;4956:9;4952:22;4921:63;:::i;4995:170::-;-1:-1:-1;;;;;;5089:51:20;;5079:62;;5069:90;;5155:1;5152;5145:12;5170:916;5332:6;5340;5348;5356;5409:3;5397:9;5388:7;5384:23;5380:33;5377:53;;;5426:1;5423;5416:12;5377:53;5465:9;5452:23;5484:30;5508:5;5484:30;:::i;:::-;5533:5;-1:-1:-1;5589:2:20;5574:18;;5561:32;-1:-1:-1;;;;;5642:14:20;;;5639:34;;;5669:1;5666;5659:12;5639:34;5692:61;5745:7;5736:6;5725:9;5721:22;5692:61;:::i;:::-;5682:71;;5806:2;5795:9;5791:18;5778:32;5762:48;;5835:2;5825:8;5822:16;5819:36;;;5851:1;5848;5841:12;5819:36;;5874:63;5929:7;5918:8;5907:9;5903:24;5874:63;:::i;:::-;5864:73;;;5989:2;5978:9;5974:18;5961:32;6002:52;6046:7;6002:52;:::i;:::-;5170:916;;;;-1:-1:-1;5170:916:20;;-1:-1:-1;;5170:916:20:o;6091:320::-;6166:5;6195:52;6211:35;6239:6;6211:35;:::i;6195:52::-;6186:61;;6270:6;6263:5;6256:21;6310:3;6301:6;6296:3;6292:16;6289:25;6286:45;;;6327:1;6324;6317:12;6286:45;6340:65;6398:6;6391:4;6384:5;6380:16;6375:3;6340:65;:::i;6416:457::-;6495:6;6548:2;6536:9;6527:7;6523:23;6519:32;6516:52;;;6564:1;6561;6554:12;6516:52;6597:9;6591:16;-1:-1:-1;;;;;6622:6:20;6619:30;6616:50;;;6662:1;6659;6652:12;6616:50;6685:22;;6738:4;6730:13;;6726:27;-1:-1:-1;6716:55:20;;6767:1;6764;6757:12;6716:55;6790:77;6859:7;6854:2;6848:9;6843:2;6839;6835:11;6790:77;:::i;7083:461::-;7136:3;7174:5;7168:12;7201:6;7196:3;7189:19;7227:4;7256:2;7251:3;7247:12;7240:19;;7293:2;7286:5;7282:14;7314:1;7324:195;7338:6;7335:1;7332:13;7324:195;;;7403:13;;-1:-1:-1;;;;;7399:39:20;7387:52;;7459:12;;;;7494:15;;;;7435:1;7353:9;7324:195;;;-1:-1:-1;7535:3:20;;7083:461;-1:-1:-1;;;;;7083:461:20:o;7549:499::-;-1:-1:-1;;;;;7821:39:20;7813:6;7809:52;7798:9;7791:71;-1:-1:-1;;;;;7902:6:20;7898:31;7893:2;7882:9;7878:18;7871:59;7966:2;7961;7950:9;7946:18;7939:30;7772:4;7986:56;8038:2;8027:9;8023:18;8015:6;7986:56;:::i;:::-;7978:64;7549:499;-1:-1:-1;;;;;7549:499:20:o;8053:361::-;-1:-1:-1;;;;;8267:39:20;8259:6;8255:52;8244:9;8237:71;8344:2;8339;8328:9;8324:18;8317:30;8218:4;8364:44;8404:2;8393:9;8389:18;8381:6;8364:44;:::i;8419:809::-;8465:3;-1:-1:-1;;;;;8493:39:20;8571:2;8563:5;8557:12;8553:21;8548:3;8541:34;8636:2;8628:4;8621:5;8617:16;8611:23;8607:32;8600:4;8595:3;8591:14;8584:56;;-1:-1:-1;;;;;8693:4:20;8686:5;8682:16;8676:23;8672:48;8665:4;8660:3;8656:14;8649:72;8767:4;8760:5;8756:16;8750:23;8805:4;8798;8793:3;8789:14;8782:28;8831:58;8883:4;8878:3;8874:14;8860:12;8831:58;:::i;:::-;8819:70;;8937:4;8930:5;8926:16;8920:23;8985:3;8979:4;8975:14;8968:4;8963:3;8959:14;8952:38;9013:50;9058:4;9042:14;9013:50;:::i;:::-;8999:64;;;9111:4;9104:5;9100:16;9094:23;9161:3;9153:6;9149:16;9142:4;9137:3;9133:14;9126:40;9182;9215:6;9199:14;9182:40;:::i;9233:408::-;9452:2;9441:9;9434:21;9415:4;9478:49;9523:2;9512:9;9508:18;9500:6;9478:49;:::i;:::-;9575:9;9567:6;9563:22;9558:2;9547:9;9543:18;9536:50;9603:32;9628:6;9620;9603:32;:::i;9646:384::-;-1:-1:-1;;;;;;9831:33:20;;9819:46;;9888:13;;9801:3;;9910:74;9888:13;9973:1;9964:11;;9957:4;9945:17;;9910:74;:::i;:::-;10004:16;;;;10022:1;10000:24;;9646:384;-1:-1:-1;;;9646:384:20:o;10035:293::-;10121:6;10174:2;10162:9;10153:7;10149:23;10145:32;10142:52;;;10190:1;10187;10180:12;10142:52;10229:9;10216:23;10248:50;10292:5;10248:50;:::i;10333:245::-;10391:6;10444:2;10432:9;10423:7;10419:23;10415:32;10412:52;;;10460:1;10457;10450:12;10412:52;10499:9;10486:23;10518:30;10542:5;10518:30;:::i;10583:545::-;10676:4;10682:6;10742:11;10729:25;10836:2;10832:7;10821:8;10805:14;10801:29;10797:43;10777:18;10773:68;10763:96;;10855:1;10852;10845:12;10763:96;10882:33;;10934:20;;;-1:-1:-1;;;;;;10966:30:20;;10963:50;;;11009:1;11006;10999:12;10963:50;11042:4;11030:17;;-1:-1:-1;11093:1:20;11089:14;;;11073;11069:35;11059:46;;11056:66;;;11118:1;11115;11108:12;11056:66;10583:545;;;;;:::o;11133:944::-;11366:4;11414:2;11403:9;11399:18;-1:-1:-1;;;;;11456:39:20;11448:6;11444:52;11433:9;11426:71;11516:2;-1:-1:-1;;;;;11558:6:20;11554:31;11549:2;11538:9;11534:18;11527:59;11622:2;11617;11606:9;11602:18;11595:30;11645:6;11675;11667;11660:22;11713:3;11702:9;11698:19;11691:26;;11740:6;11726:20;;11764:1;11774:277;11788:6;11785:1;11782:13;11774:277;;;11863:6;11850:20;11883:31;11908:5;11883:31;:::i;:::-;-1:-1:-1;;;;;11939:31:20;11927:44;;12026:15;;;;11991:12;;;;11967:1;11803:9;11774:277;;;-1:-1:-1;12068:3:20;11133:944;-1:-1:-1;;;;;;;;11133:944:20:o;12281:127::-;12342:10;12337:3;12333:20;12330:1;12323:31;12373:4;12370:1;12363:15;12397:4;12394:1;12387:15;12413:705;12611:2;12663:21;;;12733:13;;12636:18;;;12755:22;;;12582:4;;12611:2;12834:15;;;;12808:2;12793:18;;;12582:4;12877:215;12891:6;12888:1;12885:13;12877:215;;;12956:13;;-1:-1:-1;;;;;;12952:59:20;12940:72;;13067:15;;;;13032:12;;;;12913:1;12906:9;12877:215;;;-1:-1:-1;13109:3:20;;12413:705;-1:-1:-1;;;;;;12413:705:20:o;13333:314::-;-1:-1:-1;;;;;13508:32:20;;13490:51;;13577:2;13572;13557:18;;13550:30;;;-1:-1:-1;;13597:44:20;;13622:18;;13614:6;13597:44;:::i;13652:287::-;13781:3;13819:6;13813:13;13835:66;13894:6;13889:3;13882:4;13874:6;13870:17;13835:66;:::i;:::-;13917:16;;;;;13652:287;-1:-1:-1;;13652:287:20:o;13944:136::-;14022:13;;14044:30;14022:13;14044:30;:::i;:::-;13944:136;;;:::o;14085:249::-;14154:6;14207:2;14195:9;14186:7;14182:23;14178:32;14175:52;;;14223:1;14220;14213:12;14175:52;14255:9;14249:16;14274:30;14298:5;14274:30;:::i;14339:723::-;-1:-1:-1;;;;;14674:6:20;14670:31;14659:9;14652:50;14738:3;14733:2;14722:9;14718:18;14711:31;14633:4;14765:57;14817:3;14806:9;14802:19;14794:6;14765:57;:::i;:::-;14870:9;14862:6;14858:22;14853:2;14842:9;14838:18;14831:50;14904:44;14941:6;14933;14904:44;:::i;:::-;14890:58;;14996:9;14988:6;14984:22;14979:2;14968:9;14964:18;14957:50;15024:32;15049:6;15041;15024:32;:::i;15067:176::-;15165:13;;15187:50;15165:13;15187:50;:::i;15248:734::-;15313:5;15366:3;15359:4;15351:6;15347:17;15343:27;15333:55;;15384:1;15381;15374:12;15333:55;15413:6;15407:13;15439:4;15463:60;15479:43;15519:2;15479:43;:::i;15463:60::-;15557:15;;;15643:1;15639:10;;;;15627:23;;15623:32;;;15588:12;;;;15667:15;;;15664:35;;;15695:1;15692;15685:12;15664:35;15731:2;15723:6;15719:15;15743:210;15759:6;15754:3;15751:15;15743:210;;;15832:3;15826:10;15849:31;15874:5;15849:31;:::i;:::-;15893:18;;15931:12;;;;15776;;15743:210;;15987:236;16041:5;16094:3;16087:4;16079:6;16075:17;16071:27;16061:55;;16112:1;16109;16102:12;16061:55;16134:83;16213:3;16204:6;16198:13;16191:4;16183:6;16179:17;16134:83;:::i;16228:1256::-;16320:6;16373:2;16361:9;16352:7;16348:23;16344:32;16341:52;;;16389:1;16386;16379:12;16341:52;16422:9;16416:16;-1:-1:-1;;;;;16492:2:20;16484:6;16481:14;16478:34;;;16508:1;16505;16498:12;16478:34;16531:22;;;;16587:4;16569:16;;;16565:27;16562:47;;;16605:1;16602;16595:12;16562:47;16631:22;;:::i;:::-;16676:52;16725:2;16676:52;:::i;:::-;16669:5;16662:67;16761:61;16818:2;16814;16810:11;16761:61;:::i;:::-;16756:2;16749:5;16745:14;16738:85;16855:41;16892:2;16888;16884:11;16855:41;:::i;:::-;16850:2;16843:5;16839:14;16832:65;16936:2;16932;16928:11;16922:18;16965:2;16955:8;16952:16;16949:36;;;16981:1;16978;16971:12;16949:36;17017:67;17076:7;17065:8;17061:2;17057:17;17017:67;:::i;:::-;17012:2;17005:5;17001:14;16994:91;;17124:3;17120:2;17116:12;17110:19;17154:2;17144:8;17141:16;17138:36;;;17170:1;17167;17160:12;17138:36;17207:67;17266:7;17255:8;17251:2;17247:17;17207:67;:::i;:::-;17201:3;17194:5;17190:15;17183:92;;17314:3;17310:2;17306:12;17300:19;17344:2;17334:8;17331:16;17328:36;;;17360:1;17357;17350:12;17328:36;17397:56;17445:7;17434:8;17430:2;17426:17;17397:56;:::i;:::-;17391:3;17380:15;;17373:81;-1:-1:-1;17384:5:20;16228:1256;-1:-1:-1;;;;;16228:1256:20:o;17489:523::-;-1:-1:-1;;;;;17751:39:20;17743:6;17739:52;17728:9;17721:71;17828:2;17823;17812:9;17808:18;17801:30;17702:4;17854:44;17894:2;17883:9;17879:18;17871:6;17854:44;:::i;:::-;17946:9;17938:6;17934:22;17929:2;17918:9;17914:18;17907:50;17974:32;17999:6;17991;17974:32;:::i;:::-;17966:40;17489:523;-1:-1:-1;;;;;;17489:523:20:o;18017:248::-;18190:2;18179:9;18172:21;18153:4;18210:49;18255:2;18244:9;18240:18;18232:6;18210:49;:::i", + "linkReferences": {} }, - "bytecode": { - "object": "0x608060405234801561001057600080fd5b5061154c806100206000396000f3fe60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "emitBidAndHint((bytes16,bytes16,uint64,address[],address[],string),bytes)": "89026c11", + "fetchBidConfidentialBundleData()": "92f07a58", + "newBid(uint64,address[],address[])": "236eb5a7", + "newMatch(uint64,address[],address[],bytes16)": "d8f55db9" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"HintEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"matchBidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"matchHint\",\"type\":\"bytes\"}],\"name\":\"MatchEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"emitBidAndHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"},{\"internalType\":\"Suave.BidId\",\"name\":\"shareBidId\",\"type\":\"bytes16\"}],\"name\":\"newMatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"MevShareBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "bytes", + "name": "hint", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "HintEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "matchBidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "bytes", + "name": "matchHint", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "MatchEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "hint", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBidAndHint" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "bidAllowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "bidAllowedStores", + "type": "address[]" + } + ], + "stateMutability": "payable", + "type": "function", + "name": "newBid", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "bidAllowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "bidAllowedStores", + "type": "address[]" + }, + { + "internalType": "Suave.BidId", + "name": "shareBidId", + "type": "bytes16" + } + ], + "stateMutability": "payable", + "type": "function", + "name": "newMatch", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "MevShareBidContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/bids.sol/MevShareBundleSenderContract.json b/suave/artifacts/bids.sol/MevShareBundleSenderContract.json index d6565d7ce2..1fda81bbe2 100644 --- a/suave/artifacts/bids.sol/MevShareBundleSenderContract.json +++ b/suave/artifacts/bids.sol/MevShareBundleSenderContract.json @@ -281,10 +281,19647 @@ "type": "function" } ], + "bytecode": { + "object": "0x60806040523480156200001157600080fd5b5060405162001d7a38038062001d7a833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61195a80620004206000396000f3fe6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", + "sourceMap": "4891:563:18:-:0;;;4986:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5032:26;;;;:11;;:26;;;;;:::i;:::-;;4986:76;4891:563;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;4891:563:18;;;-1:-1:-1;4891:563:18;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;14:127:20;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:20;247:40;;-1:-1:-1;;;;;302:34:20;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:20:o;426:1899::-;531:6;562:2;605;593:9;584:7;580:23;576:32;573:52;;;621:1;618;611:12;573:52;648:16;;-1:-1:-1;;;;;713:14:20;;;710:34;;;740:1;737;730:12;710:34;778:6;767:9;763:22;753:32;;804:4;844:7;839:2;835;831:11;827:25;817:53;;866:1;863;856:12;817:53;895:2;889:9;917:2;913;910:10;907:36;;;923:18;;:::i;:::-;969:2;966:1;962:10;992:28;1016:2;1012;1008:11;992:28;:::i;:::-;1054:15;;;1124:11;;;1120:20;;;1085:12;;;;1152:19;;;1149:39;;;1184:1;1181;1174:12;1149:39;1216:2;1212;1208:11;1197:22;;1228:1067;1244:6;1239:3;1236:15;1228:1067;;;1323:3;1317:10;1359:2;1346:11;1343:19;1340:109;;;1403:1;1432:2;1428;1421:14;1340:109;1472:20;;1527:2;1519:11;;1515:25;-1:-1:-1;1505:123:20;;1582:1;1611:2;1607;1600:14;1505:123;1666:2;1662;1658:11;1652:18;1694:2;1689:3;1686:11;1683:37;;;1700:18;;:::i;:::-;1746:52;1770:12;;;-1:-1:-1;;1766:26:20;1762:35;;1746:52;:::i;:::-;1825:3;1818:5;1811:18;1853:2;1898:7;1892:3;1886;1882:2;1878:12;1874:22;1871:35;1868:128;;;1948:1;1978:3;1973;1966:16;1868:128;2018:1;2032:142;2046:3;2043:1;2040:10;2032:142;;;2142:10;;;2138:20;;2132:27;2112:13;;;2108:22;;2101:59;2058:10;;2032:142;;;-1:-1:-1;;2220:1:20;2198:15;;;2194:24;;2187:35;;;;2235:18;;-1:-1:-1;1261:12:20;;;;2273;;;;1228:1067;;;2314:5;426:1899;-1:-1:-1;;;;;;;;;;426:1899:20:o;2330:380::-;2409:1;2405:12;;;;2452;;;2473:61;;2527:4;2519:6;2515:17;2505:27;;2473:61;2580:2;2572:6;2569:14;2549:18;2546:38;2543:161;;2626:10;2621:3;2617:20;2614:1;2607:31;2661:4;2658:1;2651:15;2689:4;2686:1;2679:15;2543:161;;2330:380;;;:::o;2841:545::-;2943:2;2938:3;2935:11;2932:448;;;2979:1;3004:5;3000:2;2993:17;3049:4;3045:2;3035:19;3119:2;3107:10;3103:19;3100:1;3096:27;3090:4;3086:38;3155:4;3143:10;3140:20;3137:47;;;-1:-1:-1;3178:4:20;3137:47;3233:2;3228:3;3224:12;3221:1;3217:20;3211:4;3207:31;3197:41;;3288:82;3306:2;3299:5;3296:13;3288:82;;;3351:17;;;3332:1;3321:13;3288:82;;;3292:3;;;2932:448;2841:545;;;:::o;3562:1352::-;3682:10;;-1:-1:-1;;;;;3704:30:20;;3701:56;;;3737:18;;:::i;:::-;3766:97;3856:6;3816:38;3848:4;3842:11;3816:38;:::i;:::-;3810:4;3766:97;:::i;:::-;3918:4;;3982:2;3971:14;;3999:1;3994:663;;;;4701:1;4718:6;4715:89;;;-1:-1:-1;4770:19:20;;;4764:26;4715:89;-1:-1:-1;;3519:1:20;3515:11;;;3511:24;3507:29;3497:40;3543:1;3539:11;;;3494:57;4817:81;;3964:944;;3994:663;2788:1;2781:14;;;2825:4;2812:18;;-1:-1:-1;;4030:20:20;;;4148:236;4162:7;4159:1;4156:14;4148:236;;;4251:19;;;4245:26;4230:42;;4343:27;;;;4311:1;4299:14;;;;4178:19;;4148:236;;;4152:3;4412:6;4403:7;4400:19;4397:201;;;4473:19;;;4467:26;-1:-1:-1;;4556:1:20;4552:14;;;4568:3;4548:24;4544:37;4540:42;4525:58;4510:74;;4397:201;-1:-1:-1;;;;;4644:1:20;4628:14;;;4624:22;4611:36;;-1:-1:-1;3562:1352:20:o;:::-;4891:563:18;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" + "object": "0x6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", + "sourceMap": "4891:563:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4955:27;;;;;;;;;;-1:-1:-1;4955:27:18;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2191:1042;;;;;;:::i;:::-;;:::i;3236:180::-;;;;;;;;;;-1:-1:-1;3236:180:18;;;;;:::i;:::-;;:::i;:::-;;187:228;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;3419:1174::-;;;;;;:::i;:::-;;:::i;4955:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2191:1042::-;2332:12;2395:22;:20;:22::i;:::-;2387:31;;;;;;2449:23;2475:4;-1:-1:-1;;;;;2475:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2475:37:18;;;;;;;;;;;;:::i;:::-;2449:63;;2536:10;2549:32;2570:10;2549:20;:32::i;:::-;2536:45;;2609:17;2629:29;2647:10;2629:17;:29::i;:::-;2609:49;;2705:20;2728:102;2741:19;2762:17;2781:16;2728:102;;;;;;;;;;;;;;;;;:12;:102::i;:::-;2705:125;;2834:74;2863:3;:6;;;2834:74;;;;;;;;;;;;;-1:-1:-1;;;2834:74:18;;;2897:10;2834:28;:74::i;:::-;2941:6;;2912:88;;;;;;;;;;;;;;;;;;;;2984:15;;-1:-1:-1;;;;;7837:31:20;;2984:15:18;;;7819:50:20;;;;2912:88:18;;2941:6;7792:18:20;2984:15:18;;;;;;;;;;;;;2912:28;:88::i;:::-;-1:-1:-1;;;;;;;;;;;3018:3:18;:6;;;3026:3;:23;;;3051:3;:18;;;3009:61;;;;;;;;:::i;:::-;;;;;;;;3089:6;;3079:23;;;;;;3097:4;;3079:23;:::i;:::-;;;;;;;;3207:21;;-1:-1:-1;;;3177:28:18;3207:21;;3218:3;;3223:4;;3207:21;;;:::i;:::-;;;;-1:-1:-1;;3207:21:18;;;;;;;;;;3164:65;;;3207:21;3164:65;;:::i;:::-;;;;;;;;;;;;;3157:72;;;;;;2191:1042;;;;;;:::o;3236:180::-;-1:-1:-1;;;;;;;;;;;3328:6:18;;;;:3;:6;:::i;:::-;3336:23;;;;;;;;:::i;:::-;3361:18;;;;:3;:18;:::i;:::-;3319:61;;;;;;;;;:::i;:::-;;;;;;;;3389:23;3399:6;;;;:3;:6;:::i;:::-;3407:4;3389:23;;;;;;;:::i;:::-;;;;;;;;3236:180;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;-1:-1:-1;;;;;;;;;;;533:6:18;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;3419:1174::-;3586:12;3741:22;:20;:22::i;:::-;3733:31;;;;;;3800:28;3831:4;-1:-1:-1;;;;;3831:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3831:37:18;;;;;;;;;;;;:::i;:::-;3800:68;;3910:10;3923:37;3944:15;3923:20;:37::i;:::-;3910:50;;3986:22;4011:34;4029:15;4011:17;:34::i;:::-;3986:59;;4052:20;4075:95;4088:19;4109:17;4128:16;4075:95;;;;;;;;;;;;;-1:-1:-1;;;4075:95:18;;;:12;:95::i;:::-;4052:118;;4174:79;4203:3;:6;;;4174:79;;;;;;;;;;;;;-1:-1:-1;;;4174:79:18;;;4237:15;4174:28;:79::i;:::-;4286:6;;4257:86;;;;;;;;;;;;;;;;;;;;4329:13;;4286:6;4329:13;;;13034:36:20;;;;4257:86:18;;4286:6;13007:18:20;4329:13:18;12882:194:20;4257:86:18;4394:20;;;4412:1;4394:20;;;;;;;;4366:25;;4394:20;;;;;;;;;;-1:-1:-1;4394:20:18;4366:48;;4428:10;4418:4;4423:1;4418:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;4418:20:18;;;:7;;;;;;;;;;;:20;4452:6;;4442:7;;:4;;4447:1;;4442:7;;;;;;:::i;:::-;-1:-1:-1;;;;;;4442:16:18;;;:7;;;;;;;;;;:16;4491:6;;4462:80;;;;;;;;;;;-1:-1:-1;;;4462:80:18;;;;4525:16;;4462:80;;4525:16;;4536:4;;4525:16;;:::i;4462:80::-;4554:35;4574:3;4579:9;4554:19;:35::i;:::-;4547:42;3419:1174;-1:-1:-1;;;;;;;;;;3419:1174:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;4349:329::-;4418:12;4450:16;:14;:16::i;:::-;4442:25;;;;;;4478:12;4492:17;1327:42;-1:-1:-1;;;;;4513:23:14;4548:10;4537:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4537:22:14;;;;;;;;;;4513:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4477:83;;;;4575:7;4570:80;;1327:42;4634:4;4605:34;;-1:-1:-1;;;4605:34:14;;;;;;;;;:::i;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;5065:387:18:-;5175:12;5193:23;5219:32;5244:3;:6;;;5219:24;:32::i;:::-;5193:58;;5260:6;5255:127;5276:11;:18;5272:22;;5255:127;;;5306:71;5332:11;5344:1;5332:14;;;;;;;;:::i;:::-;;;;;;;;5306:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5306:71:18;;;5366:10;5306:25;:71::i;:::-;-1:-1:-1;5296:3:18;;;;:::i;:::-;;;;5255:127;;;;5393:55;5433:3;5438:9;5393:39;:55::i;5017:337:14:-;5081:12;5113:16;:14;:16::i;:::-;5105:25;;;;;;5209:17;;;-1:-1:-1;;;;;;19249:52:20;;5209:17:14;;;19231:71:20;5141:12:14;;;;1510:42;;19204:18:20;5209:17:14;;;-1:-1:-1;;5209:17:14;;;;;;;;;;5176:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5140:87;;;;5242:7;5237:89;;1510:42;5310:4;5272:43;;-1:-1:-1;;;5272:43:14;;;;;;;;;:::i;6605:431::-;6743:12;6779:16;:14;:16::i;:::-;6771:25;;;;;;6807:12;6821:17;1878:42;-1:-1:-1;;;;;6842:33:14;6887:3;6892:6;6900;6876:31;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6876:31:14;;;;;;;;;;6842:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6806:102;;;;6923:7;6918:90;;1878:42;6992:4;6953:44;;-1:-1:-1;;;6953:44:14;;;;;;;;;:::i;6918:90::-;7025:4;6605:431;-1:-1:-1;;;;;6605:431:14:o;4596:291:18:-;4697:12;-1:-1:-1;;;;;;;;;;;4729:3:18;:6;;;4737:3;:23;;;4762:3;:18;;;4720:61;;;;;;;;:::i;:::-;;;;;;;;4801:6;;4790:29;;;;;;4809:9;;4790:29;:::i;:::-;;;;;;;;4867:15;;-1:-1:-1;;;4844:21:18;4867:15;;4878:3;;4867:15;;;:::i;:::-;;;;-1:-1:-1;;4867:15:18;;;;;;;;;;4831:52;;;4867:15;4831:52;;:::i;:::-;;;;;;;;;;;;;4824:59;;4596:291;;;;:::o;14:180:20:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:20;;14:180;-1:-1:-1;14:180:20:o;199:250::-;284:1;294:113;308:6;305:1;302:13;294:113;;;384:11;;;378:18;365:11;;;358:39;330:2;323:10;294:113;;;-1:-1:-1;;441:1:20;423:16;;416:27;199:250::o;454:271::-;496:3;534:5;528:12;561:6;556:3;549:19;577:76;646:6;639:4;634:3;630:14;623:4;616:5;612:16;577:76;:::i;:::-;707:2;686:15;-1:-1:-1;;682:29:20;673:39;;;;714:4;669:50;;454:271;-1:-1:-1;;454:271:20:o;730:220::-;879:2;868:9;861:21;842:4;899:45;940:2;929:9;925:18;917:6;899:45;:::i;955:129::-;-1:-1:-1;;;;;1033:5:20;1029:30;1022:5;1019:41;1009:69;;1074:1;1071;1064:12;1009:69;955:129;:::o;1089:127::-;1150:10;1145:3;1141:20;1138:1;1131:31;1181:4;1178:1;1171:15;1205:4;1202:1;1195:15;1221:253;1293:2;1287:9;1335:4;1323:17;;-1:-1:-1;;;;;1355:34:20;;1391:22;;;1352:62;1349:88;;;1417:18;;:::i;:::-;1453:2;1446:22;1221:253;:::o;1479:275::-;1550:2;1544:9;1615:2;1596:13;;-1:-1:-1;;1592:27:20;1580:40;;-1:-1:-1;;;;;1635:34:20;;1671:22;;;1632:62;1629:88;;;1697:18;;:::i;:::-;1733:2;1726:22;1479:275;;-1:-1:-1;1479:275:20:o;1759:183::-;1819:4;-1:-1:-1;;;;;1844:6:20;1841:30;1838:56;;;1874:18;;:::i;:::-;-1:-1:-1;1919:1:20;1915:14;1931:4;1911:25;;1759:183::o;1947:131::-;-1:-1:-1;;;;;2022:31:20;;2012:42;;2002:70;;2068:1;2065;2058:12;2083:737;2137:5;2190:3;2183:4;2175:6;2171:17;2167:27;2157:55;;2208:1;2205;2198:12;2157:55;2244:6;2231:20;2270:4;2294:60;2310:43;2350:2;2310:43;:::i;:::-;2294:60;:::i;:::-;2388:15;;;2474:1;2470:10;;;;2458:23;;2454:32;;;2419:12;;;;2498:15;;;2495:35;;;2526:1;2523;2516:12;2495:35;2562:2;2554:6;2550:15;2574:217;2590:6;2585:3;2582:15;2574:217;;;2670:3;2657:17;2687:31;2712:5;2687:31;:::i;:::-;2731:18;;2769:12;;;;2607;;2574:217;;;-1:-1:-1;2809:5:20;2083:737;-1:-1:-1;;;;;;2083:737:20:o;2825:728::-;2951:6;2959;2967;3020:2;3008:9;2999:7;2995:23;2991:32;2988:52;;;3036:1;3033;3026:12;2988:52;3075:9;3062:23;3094:30;3118:5;3094:30;:::i;:::-;3143:5;-1:-1:-1;3199:2:20;3184:18;;3171:32;-1:-1:-1;;;;;3252:14:20;;;3249:34;;;3279:1;3276;3269:12;3249:34;3302:61;3355:7;3346:6;3335:9;3331:22;3302:61;:::i;:::-;3292:71;;3416:2;3405:9;3401:18;3388:32;3372:48;;3445:2;3435:8;3432:16;3429:36;;;3461:1;3458;3451:12;3429:36;;3484:63;3539:7;3528:8;3517:9;3513:24;3484:63;:::i;:::-;3474:73;;;2825:728;;;;;:::o;3781:152::-;3837:5;3882:3;3873:6;3868:3;3864:16;3860:26;3857:46;;;3899:1;3896;3889:12;3857:46;-1:-1:-1;3921:6:20;3781:152;-1:-1:-1;3781:152:20:o;3938:186::-;3986:4;-1:-1:-1;;;;;4011:6:20;4008:30;4005:56;;;4041:18;;:::i;:::-;-1:-1:-1;4107:2:20;4086:15;-1:-1:-1;;4082:29:20;4113:4;4078:40;;3938:186::o;4129:919::-;4230:6;4238;4291:2;4279:9;4270:7;4266:23;4262:32;4259:52;;;4307:1;4304;4297:12;4259:52;4347:9;4334:23;-1:-1:-1;;;;;4417:2:20;4409:6;4406:14;4403:34;;;4433:1;4430;4423:12;4403:34;4456:63;4511:7;4502:6;4491:9;4487:22;4456:63;:::i;:::-;4446:73;;4572:2;4561:9;4557:18;4544:32;4528:48;;4601:2;4591:8;4588:16;4585:36;;;4617:1;4614;4607:12;4585:36;-1:-1:-1;4640:24:20;;4695:4;4687:13;;4683:27;-1:-1:-1;4673:55:20;;4724:1;4721;4714:12;4673:55;4760:2;4747:16;4785:48;4801:31;4829:2;4801:31;:::i;4785:48::-;4856:2;4849:5;4842:17;4896:7;4891:2;4886;4882;4878:11;4874:20;4871:33;4868:53;;;4917:1;4914;4907:12;4868:53;4972:2;4967;4963;4959:11;4954:2;4947:5;4943:14;4930:45;5016:1;5011:2;5006;4999:5;4995:14;4991:23;4984:34;5037:5;5027:15;;;;;4129:919;;;;;:::o;5053:349::-;5136:6;5189:2;5177:9;5168:7;5164:23;5160:32;5157:52;;;5205:1;5202;5195:12;5157:52;5245:9;5232:23;-1:-1:-1;;;;;5270:6:20;5267:30;5264:50;;;5310:1;5307;5300:12;5264:50;5333:63;5388:7;5379:6;5368:9;5364:22;5333:63;:::i;5407:170::-;-1:-1:-1;;;;;;5501:51:20;;5491:62;;5481:90;;5567:1;5564;5557:12;5582:916;5744:6;5752;5760;5768;5821:3;5809:9;5800:7;5796:23;5792:33;5789:53;;;5838:1;5835;5828:12;5789:53;5877:9;5864:23;5896:30;5920:5;5896:30;:::i;:::-;5945:5;-1:-1:-1;6001:2:20;5986:18;;5973:32;-1:-1:-1;;;;;6054:14:20;;;6051:34;;;6081:1;6078;6071:12;6051:34;6104:61;6157:7;6148:6;6137:9;6133:22;6104:61;:::i;:::-;6094:71;;6218:2;6207:9;6203:18;6190:32;6174:48;;6247:2;6237:8;6234:16;6231:36;;;6263:1;6260;6253:12;6231:36;;6286:63;6341:7;6330:8;6319:9;6315:24;6286:63;:::i;:::-;6276:73;;;6401:2;6390:9;6386:18;6373:32;6414:52;6458:7;6414:52;:::i;:::-;5582:916;;;;-1:-1:-1;5582:916:20;;-1:-1:-1;;5582:916:20:o;6503:380::-;6582:1;6578:12;;;;6625;;;6646:61;;6700:4;6692:6;6688:17;6678:27;;6646:61;6753:2;6745:6;6742:14;6722:18;6719:38;6716:161;;6799:10;6794:3;6790:20;6787:1;6780:31;6834:4;6831:1;6824:15;6862:4;6859:1;6852:15;6888:320;6963:5;6992:52;7008:35;7036:6;7008:35;:::i;6992:52::-;6983:61;;7067:6;7060:5;7053:21;7107:3;7098:6;7093:3;7089:16;7086:25;7083:45;;;7124:1;7121;7114:12;7083:45;7137:65;7195:6;7188:4;7181:5;7177:16;7172:3;7137:65;:::i;7213:457::-;7292:6;7345:2;7333:9;7324:7;7320:23;7316:32;7313:52;;;7361:1;7358;7351:12;7313:52;7394:9;7388:16;-1:-1:-1;;;;;7419:6:20;7416:30;7413:50;;;7459:1;7456;7449:12;7413:50;7482:22;;7535:4;7527:13;;7523:27;-1:-1:-1;7513:55:20;;7564:1;7561;7554:12;7513:55;7587:77;7656:7;7651:2;7645:9;7640:2;7636;7632:11;7587:77;:::i;7880:461::-;7933:3;7971:5;7965:12;7998:6;7993:3;7986:19;8024:4;8053:2;8048:3;8044:12;8037:19;;8090:2;8083:5;8079:14;8111:1;8121:195;8135:6;8132:1;8129:13;8121:195;;;8200:13;;-1:-1:-1;;;;;8196:39:20;8184:52;;8256:12;;;;8291:15;;;;8232:1;8150:9;8121:195;;;-1:-1:-1;8332:3:20;;7880:461;-1:-1:-1;;;;;7880:461:20:o;8346:499::-;-1:-1:-1;;;;;8618:39:20;8610:6;8606:52;8595:9;8588:71;-1:-1:-1;;;;;8699:6:20;8695:31;8690:2;8679:9;8675:18;8668:59;8763:2;8758;8747:9;8743:18;8736:30;8569:4;8783:56;8835:2;8824:9;8820:18;8812:6;8783:56;:::i;8850:362::-;-1:-1:-1;;;;;9064:39:20;9056:6;9052:52;9041:9;9034:71;9141:2;9136;9125:9;9121:18;9114:30;9015:4;9161:45;9202:2;9191:9;9187:18;9179:6;9161:45;:::i;9217:810::-;9263:3;-1:-1:-1;;;;;9291:39:20;9369:2;9361:5;9355:12;9351:21;9346:3;9339:34;9434:2;9426:4;9419:5;9415:16;9409:23;9405:32;9398:4;9393:3;9389:14;9382:56;;-1:-1:-1;;;;;9491:4:20;9484:5;9480:16;9474:23;9470:48;9463:4;9458:3;9454:14;9447:72;9565:4;9558:5;9554:16;9548:23;9603:4;9596;9591:3;9587:14;9580:28;9629:58;9681:4;9676:3;9672:14;9658:12;9629:58;:::i;:::-;9617:70;;9735:4;9728:5;9724:16;9718:23;9783:3;9777:4;9773:14;9766:4;9761:3;9757:14;9750:38;9811:50;9856:4;9840:14;9811:50;:::i;:::-;9797:64;;;9909:4;9902:5;9898:16;9892:23;9959:3;9951:6;9947:16;9940:4;9935:3;9931:14;9924:40;9980:41;10014:6;9998:14;9980:41;:::i;10032:409::-;10251:2;10240:9;10233:21;10214:4;10277:49;10322:2;10311:9;10307:18;10299:6;10277:49;:::i;:::-;10374:9;10366:6;10362:22;10357:2;10346:9;10342:18;10335:50;10402:33;10428:6;10420;10402:33;:::i;10446:384::-;-1:-1:-1;;;;;;10631:33:20;;10619:46;;10688:13;;10601:3;;10710:74;10688:13;10773:1;10764:11;;10757:4;10745:17;;10710:74;:::i;:::-;10804:16;;;;10822:1;10800:24;;10446:384;-1:-1:-1;;;10446:384:20:o;10835:293::-;10921:6;10974:2;10962:9;10953:7;10949:23;10945:32;10942:52;;;10990:1;10987;10980:12;10942:52;11029:9;11016:23;11048:50;11092:5;11048:50;:::i;11133:245::-;11191:6;11244:2;11232:9;11223:7;11219:23;11215:32;11212:52;;;11260:1;11257;11250:12;11212:52;11299:9;11286:23;11318:30;11342:5;11318:30;:::i;11383:545::-;11476:4;11482:6;11542:11;11529:25;11636:2;11632:7;11621:8;11605:14;11601:29;11597:43;11577:18;11573:68;11563:96;;11655:1;11652;11645:12;11563:96;11682:33;;11734:20;;;-1:-1:-1;;;;;;11766:30:20;;11763:50;;;11809:1;11806;11799:12;11763:50;11842:4;11830:17;;-1:-1:-1;11893:1:20;11889:14;;;11873;11869:35;11859:46;;11856:66;;;11918:1;11915;11908:12;11856:66;11383:545;;;;;:::o;11933:944::-;12166:4;12214:2;12203:9;12199:18;-1:-1:-1;;;;;12256:39:20;12248:6;12244:52;12233:9;12226:71;12316:2;-1:-1:-1;;;;;12358:6:20;12354:31;12349:2;12338:9;12334:18;12327:59;12422:2;12417;12406:9;12402:18;12395:30;12445:6;12475;12467;12460:22;12513:3;12502:9;12498:19;12491:26;;12540:6;12526:20;;12564:1;12574:277;12588:6;12585:1;12582:13;12574:277;;;12663:6;12650:20;12683:31;12708:5;12683:31;:::i;:::-;-1:-1:-1;;;;;12739:31:20;12727:44;;12826:15;;;;12791:12;;;;12767:1;12603:9;12574:277;;;-1:-1:-1;12868:3:20;11933:944;-1:-1:-1;;;;;;;;11933:944:20:o;13081:127::-;13142:10;13137:3;13133:20;13130:1;13123:31;13173:4;13170:1;13163:15;13197:4;13194:1;13187:15;13213:705;13411:2;13463:21;;;13533:13;;13436:18;;;13555:22;;;13382:4;;13411:2;13634:15;;;;13608:2;13593:18;;;13382:4;13677:215;13691:6;13688:1;13685:13;13677:215;;;13756:13;;-1:-1:-1;;;;;;13752:59:20;13740:72;;13867:15;;;;13832:12;;;;13713:1;13706:9;13677:215;;;-1:-1:-1;13909:3:20;;13213:705;-1:-1:-1;;;;;;13213:705:20:o;14133:315::-;-1:-1:-1;;;;;14308:32:20;;14290:51;;14377:2;14372;14357:18;;14350:30;;;-1:-1:-1;;14397:45:20;;14423:18;;14415:6;14397:45;:::i;14453:287::-;14582:3;14620:6;14614:13;14636:66;14695:6;14690:3;14683:4;14675:6;14671:17;14636:66;:::i;:::-;14718:16;;;;;14453:287;-1:-1:-1;;14453:287:20:o;14745:136::-;14823:13;;14845:30;14823:13;14845:30;:::i;:::-;14745:136;;;:::o;14886:249::-;14955:6;15008:2;14996:9;14987:7;14983:23;14979:32;14976:52;;;15024:1;15021;15014:12;14976:52;15056:9;15050:16;15075:30;15099:5;15075:30;:::i;15140:724::-;-1:-1:-1;;;;;15475:6:20;15471:31;15460:9;15453:50;15539:3;15534:2;15523:9;15519:18;15512:31;15434:4;15566:57;15618:3;15607:9;15603:19;15595:6;15566:57;:::i;:::-;15671:9;15663:6;15659:22;15654:2;15643:9;15639:18;15632:50;15705:44;15742:6;15734;15705:44;:::i;:::-;15691:58;;15797:9;15789:6;15785:22;15780:2;15769:9;15765:18;15758:50;15825:33;15851:6;15843;15825:33;:::i;15869:176::-;15967:13;;15989:50;15967:13;15989:50;:::i;16050:734::-;16115:5;16168:3;16161:4;16153:6;16149:17;16145:27;16135:55;;16186:1;16183;16176:12;16135:55;16215:6;16209:13;16241:4;16265:60;16281:43;16321:2;16281:43;:::i;16265:60::-;16359:15;;;16445:1;16441:10;;;;16429:23;;16425:32;;;16390:12;;;;16469:15;;;16466:35;;;16497:1;16494;16487:12;16466:35;16533:2;16525:6;16521:15;16545:210;16561:6;16556:3;16553:15;16545:210;;;16634:3;16628:10;16651:31;16676:5;16651:31;:::i;:::-;16695:18;;16733:12;;;;16578;;16545:210;;16789:236;16843:5;16896:3;16889:4;16881:6;16877:17;16873:27;16863:55;;16914:1;16911;16904:12;16863:55;16936:83;17015:3;17006:6;17000:13;16993:4;16985:6;16981:17;16936:83;:::i;17030:1256::-;17122:6;17175:2;17163:9;17154:7;17150:23;17146:32;17143:52;;;17191:1;17188;17181:12;17143:52;17224:9;17218:16;-1:-1:-1;;;;;17294:2:20;17286:6;17283:14;17280:34;;;17310:1;17307;17300:12;17280:34;17333:22;;;;17389:4;17371:16;;;17367:27;17364:47;;;17407:1;17404;17397:12;17364:47;17433:22;;:::i;:::-;17478:52;17527:2;17478:52;:::i;:::-;17471:5;17464:67;17563:61;17620:2;17616;17612:11;17563:61;:::i;:::-;17558:2;17551:5;17547:14;17540:85;17657:41;17694:2;17690;17686:11;17657:41;:::i;:::-;17652:2;17645:5;17641:14;17634:65;17738:2;17734;17730:11;17724:18;17767:2;17757:8;17754:16;17751:36;;;17783:1;17780;17773:12;17751:36;17819:67;17878:7;17867:8;17863:2;17859:17;17819:67;:::i;:::-;17814:2;17807:5;17803:14;17796:91;;17926:3;17922:2;17918:12;17912:19;17956:2;17946:8;17943:16;17940:36;;;17972:1;17969;17962:12;17940:36;18009:67;18068:7;18057:8;18053:2;18049:17;18009:67;:::i;:::-;18003:3;17996:5;17992:15;17985:92;;18116:3;18112:2;18108:12;18102:19;18146:2;18136:8;18133:16;18130:36;;;18162:1;18159;18152:12;18130:36;18199:56;18247:7;18236:8;18232:2;18228:17;18199:56;:::i;:::-;18193:3;18182:15;;18175:81;-1:-1:-1;18186:5:20;17030:1256;-1:-1:-1;;;;;17030:1256:20:o;18291:525::-;-1:-1:-1;;;;;18553:39:20;18545:6;18541:52;18530:9;18523:71;18630:2;18625;18614:9;18610:18;18603:30;18504:4;18656:45;18697:2;18686:9;18682:18;18674:6;18656:45;:::i;:::-;18749:9;18741:6;18737:22;18732:2;18721:9;18717:18;18710:50;18777:33;18803:6;18795;18777:33;:::i;:::-;18769:41;18291:525;-1:-1:-1;;;;;;18291:525:20:o;18821:232::-;18860:3;18881:17;;;18878:140;;18940:10;18935:3;18931:20;18928:1;18921:31;18975:4;18972:1;18965:15;19003:4;19000:1;18993:15;18878:140;-1:-1:-1;19045:1:20;19034:13;;18821:232::o;19313:544::-;19556:2;19545:9;19538:21;19519:4;19582:45;19623:2;19612:9;19608:18;19600:6;19582:45;:::i;:::-;19675:9;19667:6;19663:22;19658:2;19647:9;19643:18;19636:50;19709:33;19735:6;19727;19709:33;:::i;:::-;19695:47;;19790:9;19782:6;19778:22;19773:2;19762:9;19758:18;19751:50;19818:33;19844:6;19836;19818:33;:::i;19862:248::-;20035:2;20024:9;20017:21;19998:4;20055:49;20100:2;20089:9;20085:18;20077:6;20055:49;:::i", + "linkReferences": {} }, - "bytecode": { - "object": "0x60806040523480156200001157600080fd5b5060405162001d7a38038062001d7a833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61195a80620004206000396000f3fe6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "builderUrls(uint256)": "1141a0b0", + "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", + "emitBidAndHint((bytes16,bytes16,uint64,address[],address[],string),bytes)": "89026c11", + "fetchBidConfidentialBundleData()": "92f07a58", + "newBid(uint64,address[],address[])": "236eb5a7", + "newMatch(uint64,address[],address[],bytes16)": "d8f55db9" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"builderUrls_\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"HintEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"matchBidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"matchHint\",\"type\":\"bytes\"}],\"name\":\"MatchEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"builderUrls\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"emitBidAndHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"},{\"internalType\":\"Suave.BidId\",\"name\":\"shareBidId\",\"type\":\"bytes16\"}],\"name\":\"newMatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"MevShareBundleSenderContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "string[]", + "name": "builderUrls_", + "type": "string[]" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64", + "indexed": false + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]", + "indexed": false + } + ], + "type": "event", + "name": "BidEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "bidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "bytes", + "name": "hint", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "HintEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "Suave.BidId", + "name": "matchBidId", + "type": "bytes16", + "indexed": false + }, + { + "internalType": "bytes", + "name": "matchHint", + "type": "bytes", + "indexed": false + } + ], + "type": "event", + "name": "MatchEvent", + "anonymous": false + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "name": "builderUrls", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ] + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBid" + }, + { + "inputs": [ + { + "internalType": "struct Suave.Bid", + "name": "bid", + "type": "tuple", + "components": [ + { + "internalType": "Suave.BidId", + "name": "id", + "type": "bytes16" + }, + { + "internalType": "Suave.BidId", + "name": "salt", + "type": "bytes16" + }, + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "allowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "allowedStores", + "type": "address[]" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + } + ] + }, + { + "internalType": "bytes", + "name": "hint", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "emitBidAndHint" + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "fetchBidConfidentialBundleData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "bidAllowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "bidAllowedStores", + "type": "address[]" + } + ], + "stateMutability": "payable", + "type": "function", + "name": "newBid", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "decryptionCondition", + "type": "uint64" + }, + { + "internalType": "address[]", + "name": "bidAllowedPeekers", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "bidAllowedStores", + "type": "address[]" + }, + { + "internalType": "Suave.BidId", + "name": "shareBidId", + "type": "bytes16" + } + ], + "stateMutability": "payable", + "type": "function", + "name": "newMatch", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/bids.sol": "MevShareBundleSenderContract" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/bids.sol": { + "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", + "urls": [ + "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", + "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/bids.sol", + "id": 42152, + "exportedSymbols": { + "AnyBidContract": [ + 40712 + ], + "BundleBidContract": [ + 40819 + ], + "EgpBidPair": [ + 41250 + ], + "EthBlockBidContract": [ + 42069 + ], + "EthBlockBidSenderContract": [ + 42151 + ], + "EthBundleSenderContract": [ + 40877 + ], + "MevShareBidContract": [ + 41178 + ], + "MevShareBundleSenderContract": [ + 41244 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:11882:18", + "nodes": [ + { + "id": 40658, + "nodeType": "PragmaDirective", + "src": "0:23:18", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 40659, + "nodeType": "ImportDirective", + "src": "25:32:18", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42152, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40712, + "nodeType": "ContractDefinition", + "src": "59:532:18", + "nodes": [ + { + "id": 40669, + "nodeType": "EventDefinition", + "src": "87:97:18", + "nodes": [], + "anonymous": false, + "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", + "name": "BidEvent", + "nameLocation": "93:8:18", + "parameters": { + "id": 40668, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40662, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "117:5:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "105:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40661, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40660, + "name": "Suave.BidId", + "nameLocations": [ + "105:5:18", + "111:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "105:11:18" + }, + "referencedDeclaration": 39311, + "src": "105:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40664, + "indexed": false, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "133:19:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "126:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40663, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "126:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40667, + "indexed": false, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "166:14:18", + "nodeType": "VariableDeclaration", + "scope": 40669, + "src": "156:24:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40665, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "156:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40666, + "nodeType": "ArrayTypeName", + "src": "156:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "101:82:18" + } + }, + { + "id": 40695, + "nodeType": "FunctionDefinition", + "src": "187:228:18", + "nodes": [], + "body": { + "id": 40694, + "nodeType": "Block", + "src": "259:156:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40675, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "271:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "277:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "271:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40677, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "271:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40674, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "263:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "263:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40679, + "nodeType": "ExpressionStatement", + "src": "263:31:18" + }, + { + "assignments": [ + 40681 + ], + "declarations": [ + { + "constant": false, + "id": 40681, + "mutability": "mutable", + "name": "confidentialInputs", + "nameLocation": "314:18:18", + "nodeType": "VariableDeclaration", + "scope": 40694, + "src": "301:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40680, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "301:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40685, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40682, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "335:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40683, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "341:18:18", + "memberName": "confidentialInputs", + "nodeType": "MemberAccess", + "referencedDeclaration": 39500, + "src": "335:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () view returns (bytes memory)" + } + }, + "id": 40684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "335:26:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "301:60:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40688, + "name": "confidentialInputs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40681, + "src": "383:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 40690, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "404:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40689, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "404:5:18", + "typeDescriptions": {} + } + } + ], + "id": 40691, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "403:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + } + ], + "expression": { + "id": 40686, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "372:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "376:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "372:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 40692, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "372:39:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40673, + "id": 40693, + "nodeType": "Return", + "src": "365:46:18" + } + ] + }, + "functionSelector": "92f07a58", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "fetchBidConfidentialBundleData", + "nameLocation": "196:30:18", + "parameters": { + "id": 40670, + "nodeType": "ParameterList", + "parameters": [], + "src": "226:2:18" + }, + "returnParameters": { + "id": 40673, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40672, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40695, + "src": "245:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40671, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "245:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "244:14:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40711, + "nodeType": "FunctionDefinition", + "src": "467:122:18", + "nodes": [], + "body": { + "id": 40710, + "nodeType": "Block", + "src": "515:74:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40702, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "533:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40703, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "537:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "533:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40704, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "541:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40705, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "545:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "541:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40706, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40698, + "src": "566:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 40707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "570:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "566:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 40701, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "524:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "524:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40709, + "nodeType": "EmitStatement", + "src": "519:66:18" + } + ] + }, + "functionSelector": "c0b9d287", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBid", + "nameLocation": "476:7:18", + "parameters": { + "id": 40699, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40698, + "mutability": "mutable", + "name": "bid", + "nameLocation": "503:3:18", + "nodeType": "VariableDeclaration", + "scope": 40711, + "src": "484:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40697, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40696, + "name": "Suave.Bid", + "nameLocations": [ + "484:5:18", + "490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "484:9:18" + }, + "referencedDeclaration": 39328, + "src": "484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "src": "483:24:18" + }, + "returnParameters": { + "id": 40700, + "nodeType": "ParameterList", + "parameters": [], + "src": "515:0:18" + }, + "scope": 40712, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "AnyBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40712 + ], + "name": "AnyBidContract", + "nameLocation": "68:14:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40819, + "nodeType": "ContractDefinition", + "src": "593:936:18", + "nodes": [ + { + "id": 40786, + "nodeType": "FunctionDefinition", + "src": "642:646:18", + "nodes": [], + "body": { + "id": 40785, + "nodeType": "Block", + "src": "797:491:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40728, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "809:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "815:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "809:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40730, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "809:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40727, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "801:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "801:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40732, + "nodeType": "ExpressionStatement", + "src": "801:31:18" + }, + { + "assignments": [ + 40734 + ], + "declarations": [ + { + "constant": false, + "id": 40734, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "850:10:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "837:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "837:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40738, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40735, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "863:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "868:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "863:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "863:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "837:63:18" + }, + { + "assignments": [ + 40740 + ], + "declarations": [ + { + "constant": false, + "id": 40740, + "mutability": "mutable", + "name": "egp", + "nameLocation": "912:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "905:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40739, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "905:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40745, + "initialValue": { + "arguments": [ + { + "id": 40743, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "939:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40741, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "918:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40742, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "924:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "918:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "918:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "905:45:18" + }, + { + "assignments": [ + 40750 + ], + "declarations": [ + { + "constant": false, + "id": 40750, + "mutability": "mutable", + "name": "bid", + "nameLocation": "972:3:18", + "nodeType": "VariableDeclaration", + "scope": 40785, + "src": "955:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40749, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40748, + "name": "Suave.Bid", + "nameLocations": [ + "955:5:18", + "961:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "955:9:18" + }, + "referencedDeclaration": 39328, + "src": "955:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40758, + "initialValue": { + "arguments": [ + { + "id": 40753, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40716, + "src": "991:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40754, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40719, + "src": "1012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40755, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40722, + "src": "1031:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1049:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40751, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "978:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "984:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "978:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "978:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "955:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40762, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1107:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40763, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1111:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1107:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1115:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + }, + { + "id": 40765, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1140:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40759, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1078:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1084:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1078:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1078:73:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40767, + "nodeType": "ExpressionStatement", + "src": "1078:73:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40771, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1184:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1188:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1184:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 40773, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1192:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40776, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40740, + "src": "1237:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40774, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1226:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1230:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1226:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1226:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40768, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1155:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1161:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "1155:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1155:87:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40779, + "nodeType": "ExpressionStatement", + "src": "1155:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40781, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40750, + "src": "1268:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40782, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40734, + "src": "1273:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40780, + "name": "emitAndReturn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40818, + "src": "1254:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1254:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40726, + "id": 40784, + "nodeType": "Return", + "src": "1247:37:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "651:6:18", + "parameters": { + "id": 40723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40716, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "665:19:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "658:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40715, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "658:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40719, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "703:17:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "686:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40717, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "686:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40718, + "nodeType": "ArrayTypeName", + "src": "686:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40722, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "739:16:18", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "722:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40720, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40721, + "nodeType": "ArrayTypeName", + "src": "722:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "657:99:18" + }, + "returnParameters": { + "id": 40726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40786, + "src": "783:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40724, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "783:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "782:14:18" + }, + "scope": 40819, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 40818, + "nodeType": "FunctionDefinition", + "src": "1291:236:18", + "nodes": [], + "body": { + "id": 40817, + "nodeType": "Block", + "src": "1390:137:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40797, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1408:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40798, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1412:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "1408:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40799, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1416:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40800, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1420:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "1416:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40801, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1441:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40802, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1445:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "1441:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40796, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "1399:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1399:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40804, + "nodeType": "EmitStatement", + "src": "1394:66:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40808, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "1484:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_BundleBidContract_$40819", + "typeString": "contract BundleBidContract" + } + }, + "id": 40809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1489:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "1484:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 40810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1497:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "1484:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40813, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40789, + "src": "1518:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 40811, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "1507:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40812, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "1511:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "1507:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1507:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1471:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40805, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1471:5:18", + "typeDescriptions": {} + } + }, + "id": 40807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1477:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "1471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40815, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1471:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40795, + "id": 40816, + "nodeType": "Return", + "src": "1464:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1300:13:18", + "parameters": { + "id": 40792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40789, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1331:3:18", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1314:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40788, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40787, + "name": "Suave.Bid", + "nameLocations": [ + "1314:5:18", + "1320:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1314:9:18" + }, + "referencedDeclaration": 39328, + "src": "1314:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40791, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1336:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40790, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1336:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1313:36:18" + }, + "returnParameters": { + "id": 40795, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40794, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40818, + "src": "1376:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40793, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1376:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1375:14:18" + }, + "scope": 40819, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40713, + "name": "AnyBidContract", + "nameLocations": [ + "623:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "623:14:18" + }, + "id": 40714, + "nodeType": "InheritanceSpecifier", + "src": "623:14:18" + } + ], + "canonicalName": "BundleBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40819, + 40712 + ], + "name": "BundleBidContract", + "nameLocation": "602:17:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 40877, + "nodeType": "ContractDefinition", + "src": "1531:482:18", + "nodes": [ + { + "id": 40824, + "nodeType": "VariableDeclaration", + "src": "1588:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "1604:11:18", + "scope": 40877, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40822, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1588:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40823, + "nodeType": "ArrayTypeName", + "src": "1588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 40835, + "nodeType": "FunctionDefinition", + "src": "1619:76:18", + "nodes": [], + "body": { + "id": 40834, + "nodeType": "Block", + "src": "1661:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 40832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 40830, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1665:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 40831, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40827, + "src": "1679:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "1665:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40833, + "nodeType": "ExpressionStatement", + "src": "1665:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 40828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40827, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "1647:12:18", + "nodeType": "VariableDeclaration", + "scope": 40835, + "src": "1631:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 40825, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1631:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 40826, + "nodeType": "ArrayTypeName", + "src": "1631:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1630:30:18" + }, + "returnParameters": { + "id": 40829, + "nodeType": "ParameterList", + "parameters": [], + "src": "1661:0:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 40876, + "nodeType": "FunctionDefinition", + "src": "1698:313:18", + "nodes": [], + "body": { + "id": 40875, + "nodeType": "Block", + "src": "1817:194:18", + "nodes": [], + "statements": [ + { + "body": { + "id": 40867, + "nodeType": "Block", + "src": "1867:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 40860, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1898:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40862, + "indexExpression": { + "id": 40861, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1910:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1898:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6574685f73656e6442756e646c65", + "id": 40863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1914:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + "value": "eth_sendBundle" + }, + { + "id": 40864, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1932:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", + "typeString": "literal_string \"eth_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40857, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "1872:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1878:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "1872:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 40865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1872:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 40866, + "nodeType": "ExpressionStatement", + "src": "1872:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 40853, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 40850, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1838:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 40851, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40824, + "src": "1842:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 40852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1854:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1842:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1838:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 40868, + "initializationExpression": { + "assignments": [ + 40847 + ], + "declarations": [ + { + "constant": false, + "id": 40847, + "mutability": "mutable", + "name": "i", + "nameLocation": "1831:1:18", + "nodeType": "VariableDeclaration", + "scope": 40868, + "src": "1826:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40846, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1826:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 40849, + "initialValue": { + "hexValue": "30", + "id": 40848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1835:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1826:10:18" + }, + "loopExpression": { + "expression": { + "id": 40855, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1862:3:18", + "subExpression": { + "id": 40854, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40847, + "src": "1862:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 40856, + "nodeType": "ExpressionStatement", + "src": "1862:3:18" + }, + "nodeType": "ForStatement", + "src": "1821:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 40871, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40838, + "src": "1991:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40872, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40840, + "src": "1996:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40869, + "name": "BundleBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40819, + "src": "1959:17:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", + "typeString": "type(contract BundleBidContract)" + } + }, + "id": 40870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "1977:13:18", + "memberName": "emitAndReturn", + "nodeType": "MemberAccess", + "referencedDeclaration": 40818, + "src": "1959:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 40873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "1959:48:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40845, + "id": 40874, + "nodeType": "Return", + "src": "1952:55:18" + } + ] + }, + "baseFunctions": [ + 40818 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitAndReturn", + "nameLocation": "1707:13:18", + "overrides": { + "id": 40842, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "1785:8:18" + }, + "parameters": { + "id": 40841, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40838, + "mutability": "mutable", + "name": "bid", + "nameLocation": "1738:3:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1721:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40837, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40836, + "name": "Suave.Bid", + "nameLocations": [ + "1721:5:18", + "1727:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "1721:9:18" + }, + "referencedDeclaration": 39328, + "src": "1721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40840, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "1756:10:18", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1743:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40839, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1743:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1720:47:18" + }, + "returnParameters": { + "id": 40845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40844, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40876, + "src": "1803:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40843, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1803:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "1802:14:18" + }, + "scope": 40877, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40820, + "name": "BundleBidContract", + "nameLocations": [ + "1567:17:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40819, + "src": "1567:17:18" + }, + "id": 40821, + "nodeType": "InheritanceSpecifier", + "src": "1567:17:18" + } + ], + "canonicalName": "EthBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40877, + 40819, + 40712 + ], + "name": "EthBundleSenderContract", + "nameLocation": "1540:23:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41178, + "nodeType": "ContractDefinition", + "src": "2015:2874:18", + "nodes": [ + { + "id": 40886, + "nodeType": "EventDefinition", + "src": "2066:54:18", + "nodes": [], + "anonymous": false, + "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", + "name": "HintEvent", + "nameLocation": "2072:9:18", + "parameters": { + "id": 40885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40882, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "2097:5:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2085:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40881, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40880, + "name": "Suave.BidId", + "nameLocations": [ + "2085:5:18", + "2091:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2085:11:18" + }, + "referencedDeclaration": 39311, + "src": "2085:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40884, + "indexed": false, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2112:4:18", + "nodeType": "VariableDeclaration", + "scope": 40886, + "src": "2106:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40883, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2106:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2081:38:18" + } + }, + { + "id": 40893, + "nodeType": "EventDefinition", + "src": "2123:65:18", + "nodes": [], + "anonymous": false, + "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", + "name": "MatchEvent", + "nameLocation": "2129:10:18", + "parameters": { + "id": 40892, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40889, + "indexed": false, + "mutability": "mutable", + "name": "matchBidId", + "nameLocation": "2155:10:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2143:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 40888, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40887, + "name": "Suave.BidId", + "nameLocations": [ + "2143:5:18", + "2149:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "2143:11:18" + }, + "referencedDeclaration": 39311, + "src": "2143:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40891, + "indexed": false, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "2175:9:18", + "nodeType": "VariableDeclaration", + "scope": 40893, + "src": "2169:15:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40890, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2169:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2139:48:18" + } + }, + { + "id": 40995, + "nodeType": "FunctionDefinition", + "src": "2191:1042:18", + "nodes": [], + "body": { + "id": 40994, + "nodeType": "Block", + "src": "2346:887:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40907, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2395:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2401:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "2395:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 40909, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2395:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40906, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "2387:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 40910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2387:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40911, + "nodeType": "ExpressionStatement", + "src": "2387:31:18" + }, + { + "assignments": [ + 40913 + ], + "declarations": [ + { + "constant": false, + "id": 40913, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "2462:10:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2449:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40912, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2449:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40917, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 40914, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "2475:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40915, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2480:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "2475:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 40916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2475:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2449:63:18" + }, + { + "assignments": [ + 40919 + ], + "declarations": [ + { + "constant": false, + "id": 40919, + "mutability": "mutable", + "name": "egp", + "nameLocation": "2543:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2536:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40918, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2536:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 40924, + "initialValue": { + "arguments": [ + { + "id": 40922, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2570:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40920, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2549:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40921, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2555:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "2549:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 40923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2549:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2536:45:18" + }, + { + "assignments": [ + 40926 + ], + "declarations": [ + { + "constant": false, + "id": 40926, + "mutability": "mutable", + "name": "hint", + "nameLocation": "2622:4:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2609:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40925, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2609:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40931, + "initialValue": { + "arguments": [ + { + "id": 40929, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2647:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40927, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2629:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2635:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "2629:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 40930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2629:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2609:49:18" + }, + { + "assignments": [ + 40936 + ], + "declarations": [ + { + "constant": false, + "id": 40936, + "mutability": "mutable", + "name": "bid", + "nameLocation": "2722:3:18", + "nodeType": "VariableDeclaration", + "scope": 40994, + "src": "2705:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40935, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40934, + "name": "Suave.Bid", + "nameLocations": [ + "2705:5:18", + "2711:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "2705:9:18" + }, + "referencedDeclaration": 39328, + "src": "2705:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40944, + "initialValue": { + "arguments": [ + { + "id": 40939, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40895, + "src": "2741:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 40940, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40898, + "src": "2762:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 40941, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40901, + "src": "2781:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 40942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 40937, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2728:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2734:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "2728:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2728:102:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2705:125:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40948, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2863:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40949, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2867:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2863:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 40950, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2871:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 40951, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40913, + "src": "2897:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40945, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2834:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2840:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2834:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40952, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2834:74:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40953, + "nodeType": "ExpressionStatement", + "src": "2834:74:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40957, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "2941:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40958, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2945:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "2941:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 40959, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2949:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "id": 40962, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40919, + "src": "2995:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + ], + "expression": { + "id": 40960, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "2984:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40961, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "2988:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "2984:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2984:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40954, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "2912:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 40956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "2918:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "2912:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "2912:88:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40965, + "nodeType": "ExpressionStatement", + "src": "2912:88:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40967, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3018:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40968, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3022:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3018:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 40969, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3026:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40970, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3030:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3026:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 40971, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3051:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40972, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3055:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3051:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 40966, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3009:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 40973, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3009:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40974, + "nodeType": "EmitStatement", + "src": "3004:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 40976, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3089:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40977, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3093:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3089:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 40978, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3097:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 40975, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3079:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 40979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3079:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40980, + "nodeType": "EmitStatement", + "src": "3074:28:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 40984, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3177:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 40985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3182:14:18", + "memberName": "emitBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41019, + "src": "3177:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external" + } + }, + "id": 40986, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3197:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "3177:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 40989, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40936, + "src": "3218:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 40990, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40926, + "src": "3223:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40987, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "3207:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40988, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "3211:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "3207:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40991, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3207:21:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40982, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3164:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 40981, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3164:5:18", + "typeDescriptions": {} + } + }, + "id": 40983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3170:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "3164:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3164:65:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 40905, + "id": 40993, + "nodeType": "Return", + "src": "3157:72:18" + } + ] + }, + "functionSelector": "236eb5a7", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newBid", + "nameLocation": "2200:6:18", + "parameters": { + "id": 40902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40895, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "2214:19:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2207:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 40894, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "2207:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40898, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "2252:17:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2235:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2235:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40897, + "nodeType": "ArrayTypeName", + "src": "2235:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 40901, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "2288:16:18", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2271:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40899, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2271:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40900, + "nodeType": "ArrayTypeName", + "src": "2271:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "src": "2206:99:18" + }, + "returnParameters": { + "id": 40905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40904, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 40995, + "src": "2332:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40903, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2332:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "2331:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41019, + "nodeType": "FunctionDefinition", + "src": "3236:180:18", + "nodes": [], + "body": { + "id": 41018, + "nodeType": "Block", + "src": "3310:106:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41004, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3328:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3332:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3328:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41006, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3336:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3340:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "3336:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41008, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3361:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3365:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "3361:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[] calldata" + } + ], + "id": 41003, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "3319:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3319:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41011, + "nodeType": "EmitStatement", + "src": "3314:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41013, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40998, + "src": "3399:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid calldata" + } + }, + "id": 41014, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3403:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "3399:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41015, + "name": "hint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41000, + "src": "3407:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41012, + "name": "HintEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40886, + "src": "3389:9:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41016, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3389:23:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41017, + "nodeType": "EmitStatement", + "src": "3384:28:18" + } + ] + }, + "functionSelector": "89026c11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBidAndHint", + "nameLocation": "3245:14:18", + "parameters": { + "id": 41001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 40998, + "mutability": "mutable", + "name": "bid", + "nameLocation": "3279:3:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3260:22:18", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40997, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40996, + "name": "Suave.Bid", + "nameLocations": [ + "3260:5:18", + "3266:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "3260:9:18" + }, + "referencedDeclaration": 39328, + "src": "3260:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41000, + "mutability": "mutable", + "name": "hint", + "nameLocation": "3297:4:18", + "nodeType": "VariableDeclaration", + "scope": 41019, + "src": "3284:17:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40999, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3284:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3259:43:18" + }, + "returnParameters": { + "id": 41002, + "nodeType": "ParameterList", + "parameters": [], + "src": "3310:0:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41139, + "nodeType": "FunctionDefinition", + "src": "3419:1174:18", + "nodes": [], + "body": { + "id": 41138, + "nodeType": "Block", + "src": "3600:993:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41036, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3741:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3747:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "3741:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3741:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41035, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "3733:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3733:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41040, + "nodeType": "ExpressionStatement", + "src": "3733:31:18" + }, + { + "assignments": [ + 41042 + ], + "declarations": [ + { + "constant": false, + "id": 41042, + "mutability": "mutable", + "name": "matchBundleData", + "nameLocation": "3813:15:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3800:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41041, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3800:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41046, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41043, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "3831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3836:30:18", + "memberName": "fetchBidConfidentialBundleData", + "nodeType": "MemberAccess", + "referencedDeclaration": 40695, + "src": "3831:35:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () external returns (bytes memory)" + } + }, + "id": 41045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3831:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3800:68:18" + }, + { + "assignments": [ + 41048 + ], + "declarations": [ + { + "constant": false, + "id": 41048, + "mutability": "mutable", + "name": "egp", + "nameLocation": "3917:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3910:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41047, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3910:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41053, + "initialValue": { + "arguments": [ + { + "id": 41051, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "3944:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41049, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "3923:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "3929:14:18", + "memberName": "simulateBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39852, + "src": "3923:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", + "typeString": "function (bytes memory) view returns (uint64)" + } + }, + "id": 41052, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "3923:37:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3910:50:18" + }, + { + "assignments": [ + 41055 + ], + "declarations": [ + { + "constant": false, + "id": 41055, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "3999:9:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "3986:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41054, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3986:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41060, + "initialValue": { + "arguments": [ + { + "id": 41058, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4029:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41056, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4011:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41057, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4017:11:18", + "memberName": "extractHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 39645, + "src": "4011:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (bytes memory) view returns (bytes memory)" + } + }, + "id": 41059, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4011:34:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3986:59:18" + }, + { + "assignments": [ + 41065 + ], + "declarations": [ + { + "constant": false, + "id": 41065, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4069:3:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4052:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41064, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41063, + "name": "Suave.Bid", + "nameLocations": [ + "4052:5:18", + "4058:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4052:9:18" + }, + "referencedDeclaration": 39328, + "src": "4052:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41073, + "initialValue": { + "arguments": [ + { + "id": 41068, + "name": "decryptionCondition", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41021, + "src": "4088:19:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41069, + "name": "bidAllowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41024, + "src": "4109:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41070, + "name": "bidAllowedStores", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41027, + "src": "4128:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41071, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4146:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41066, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4075:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41067, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4081:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "4075:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4075:95:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4052:118:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41077, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4203:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41078, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4207:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4203:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6573", + "id": 41079, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4211:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + "value": "mevshare:v0:ethBundles" + }, + { + "id": 41080, + "name": "matchBundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41042, + "src": "4237:15:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", + "typeString": "literal_string \"mevshare:v0:ethBundles\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41074, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4174:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4180:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4174:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41081, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4174:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41082, + "nodeType": "ExpressionStatement", + "src": "4174:79:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41086, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4286:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41087, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4290:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4286:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41088, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4294:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 41091, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4340:1:18", + "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" + } + ], + "expression": { + "id": 41089, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4329:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4333:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4329:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4329:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41083, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4257:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4263:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4257:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4257:86:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41094, + "nodeType": "ExpressionStatement", + "src": "4257:86:18" + }, + { + "assignments": [ + 41100 + ], + "declarations": [ + { + "constant": false, + "id": 41100, + "mutability": "mutable", + "name": "bids", + "nameLocation": "4387:4:18", + "nodeType": "VariableDeclaration", + "scope": 41138, + "src": "4366:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41098, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41097, + "name": "Suave.BidId", + "nameLocations": [ + "4366:5:18", + "4372:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4366:11:18" + }, + "referencedDeclaration": 39311, + "src": "4366:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41099, + "nodeType": "ArrayTypeName", + "src": "4366:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41107, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4412:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "4394:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41102, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41101, + "name": "Suave.BidId", + "nameLocations": [ + "4398:5:18", + "4404:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "4398:11:18" + }, + "referencedDeclaration": 39311, + "src": "4398:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41103, + "nodeType": "ArrayTypeName", + "src": "4398:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41106, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4394:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4366:48:18" + }, + { + "expression": { + "id": 41112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41108, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4418:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41110, + "indexExpression": { + "hexValue": "30", + "id": 41109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4423:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4418:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41111, + "name": "shareBidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41030, + "src": "4428:10:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4418:20:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41113, + "nodeType": "ExpressionStatement", + "src": "4418:20:18" + }, + { + "expression": { + "id": 41119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41114, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4442:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41116, + "indexExpression": { + "hexValue": "31", + "id": 41115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4442:7:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41117, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4452:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4456:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4452:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "4442:16:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41120, + "nodeType": "ExpressionStatement", + "src": "4442:16:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41124, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4491:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4495:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4491:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4499:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41129, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41100, + "src": "4536:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41127, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4525:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4529:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4525:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4525:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "4462:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4468:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "4462:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4462:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41132, + "nodeType": "ExpressionStatement", + "src": "4462:80:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41134, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41065, + "src": "4574:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41135, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41055, + "src": "4579:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41133, + "name": "emitMatchBidAndHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41177, + "src": "4554:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4554:35:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41034, + "id": 41137, + "nodeType": "Return", + "src": "4547:42:18" + } + ] + }, + "functionSelector": "d8f55db9", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "newMatch", + "nameLocation": "3428:8:18", + "parameters": { + "id": 41031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41021, + "mutability": "mutable", + "name": "decryptionCondition", + "nameLocation": "3444:19:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3437:26:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41020, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "3437:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41024, + "mutability": "mutable", + "name": "bidAllowedPeekers", + "nameLocation": "3482:17:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3465:34:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3465:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41023, + "nodeType": "ArrayTypeName", + "src": "3465:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41027, + "mutability": "mutable", + "name": "bidAllowedStores", + "nameLocation": "3518:16:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3501:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41025, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3501:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41026, + "nodeType": "ArrayTypeName", + "src": "3501:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41030, + "mutability": "mutable", + "name": "shareBidId", + "nameLocation": "3548:10:18", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3536:22:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41029, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41028, + "name": "Suave.BidId", + "nameLocations": [ + "3536:5:18", + "3542:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "3536:11:18" + }, + "referencedDeclaration": 39311, + "src": "3536:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "3436:123:18" + }, + "returnParameters": { + "id": 41034, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41033, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41139, + "src": "3586:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41032, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3586:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "3585:14:18" + }, + "scope": 41178, + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "id": 41177, + "nodeType": "FunctionDefinition", + "src": "4596:291:18", + "nodes": [], + "body": { + "id": 41176, + "nodeType": "Block", + "src": "4711:176:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41150, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4729:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4733:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4729:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41152, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4737:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41153, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4741:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "4737:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41154, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4762:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41155, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4766:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "4762:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41149, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "4720:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4720:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41157, + "nodeType": "EmitStatement", + "src": "4715:66:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41159, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4801:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41160, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4805:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "4801:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41161, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41144, + "src": "4809:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41158, + "name": "MatchEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40893, + "src": "4790:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4790:29:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41163, + "nodeType": "EmitStatement", + "src": "4785:34:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41167, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "4844:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MevShareBidContract_$41178", + "typeString": "contract MevShareBidContract" + } + }, + "id": 41168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4849:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "4844:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 41169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4857:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "4844:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41172, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41142, + "src": "4878:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 41170, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "4867:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "4871:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "4867:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4867:15:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4831:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41164, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4831:5:18", + "typeDescriptions": {} + } + }, + "id": 41166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "4837:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "4831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "4831:52:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41148, + "id": 41175, + "nodeType": "Return", + "src": "4824:59:18" + } + ] + }, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "4605:19:18", + "parameters": { + "id": 41145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41142, + "mutability": "mutable", + "name": "bid", + "nameLocation": "4642:3:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4625:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41141, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41140, + "name": "Suave.Bid", + "nameLocations": [ + "4625:5:18", + "4631:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "4625:9:18" + }, + "referencedDeclaration": 39328, + "src": "4625:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41144, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "4660:9:18", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4647:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41143, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4647:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4624:46:18" + }, + "returnParameters": { + "id": 41148, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41147, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41177, + "src": "4697:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41146, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "4697:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "4696:14:18" + }, + "scope": 41178, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40878, + "name": "AnyBidContract", + "nameLocations": [ + "2047:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "2047:14:18" + }, + "id": 40879, + "nodeType": "InheritanceSpecifier", + "src": "2047:14:18" + } + ], + "canonicalName": "MevShareBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41178, + 40712 + ], + "name": "MevShareBidContract", + "nameLocation": "2024:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41244, + "nodeType": "ContractDefinition", + "src": "4891:563:18", + "nodes": [ + { + "id": 41183, + "nodeType": "VariableDeclaration", + "src": "4955:27:18", + "nodes": [], + "constant": false, + "functionSelector": "1141a0b0", + "mutability": "mutable", + "name": "builderUrls", + "nameLocation": "4971:11:18", + "scope": 41244, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41181, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4955:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41182, + "nodeType": "ArrayTypeName", + "src": "4955:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "public" + }, + { + "id": 41194, + "nodeType": "FunctionDefinition", + "src": "4986:76:18", + "nodes": [], + "body": { + "id": 41193, + "nodeType": "Block", + "src": "5028:34:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 41191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41189, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5032:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41190, + "name": "builderUrls_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41186, + "src": "5046:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string memory[] memory" + } + }, + "src": "5032:26:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41192, + "nodeType": "ExpressionStatement", + "src": "5032:26:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 41187, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41186, + "mutability": "mutable", + "name": "builderUrls_", + "nameLocation": "5014:12:18", + "nodeType": "VariableDeclaration", + "scope": 41194, + "src": "4998:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 41184, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4998:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 41185, + "nodeType": "ArrayTypeName", + "src": "4998:8:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "4997:30:18" + }, + "returnParameters": { + "id": 41188, + "nodeType": "ParameterList", + "parameters": [], + "src": "5028:0:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41243, + "nodeType": "FunctionDefinition", + "src": "5065:387:18", + "nodes": [], + "body": { + "id": 41242, + "nodeType": "Block", + "src": "5189:263:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41206 + ], + "declarations": [ + { + "constant": false, + "id": 41206, + "mutability": "mutable", + "name": "bundleData", + "nameLocation": "5206:10:18", + "nodeType": "VariableDeclaration", + "scope": 41242, + "src": "5193:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41205, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5193:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41212, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41209, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5244:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5248:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "5244:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41207, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5219:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5225:18:18", + "memberName": "fillMevShareBundle", + "nodeType": "MemberAccess", + "referencedDeclaration": 39724, + "src": "5219:24:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId) view returns (bytes memory)" + } + }, + "id": 41211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5219:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5193:58:18" + }, + { + "body": { + "id": 41234, + "nodeType": "Block", + "src": "5301:81:18", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 41227, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5332:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41229, + "indexExpression": { + "id": 41228, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5344:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5332:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "hexValue": "6d65765f73656e6442756e646c65", + "id": 41230, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5348:16:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + "value": "mev_sendBundle" + }, + { + "id": 41231, + "name": "bundleData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41206, + "src": "5366:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", + "typeString": "literal_string \"mev_sendBundle\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41224, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "5306:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5312:19:18", + "memberName": "submitBundleJsonRPC", + "nodeType": "MemberAccess", + "referencedDeclaration": 39894, + "src": "5306:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 41232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5306:71:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41233, + "nodeType": "ExpressionStatement", + "src": "5306:71:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5272:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41218, + "name": "builderUrls", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41183, + "src": "5276:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", + "typeString": "string storage ref[] storage ref" + } + }, + "id": 41219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5288:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5276:18:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5272:22:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41235, + "initializationExpression": { + "assignments": [ + 41214 + ], + "declarations": [ + { + "constant": false, + "id": 41214, + "mutability": "mutable", + "name": "i", + "nameLocation": "5265:1:18", + "nodeType": "VariableDeclaration", + "scope": 41235, + "src": "5260:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41213, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5260:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41216, + "initialValue": { + "hexValue": "30", + "id": 41215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5269:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5260:10:18" + }, + "loopExpression": { + "expression": { + "id": 41222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5296:3:18", + "subExpression": { + "id": 41221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41214, + "src": "5296:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41223, + "nodeType": "ExpressionStatement", + "src": "5296:3:18" + }, + "nodeType": "ForStatement", + "src": "5255:127:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41238, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41197, + "src": "5433:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41239, + "name": "matchHint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41199, + "src": "5438:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41236, + "name": "MevShareBidContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41178, + "src": "5393:19:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", + "typeString": "type(contract MevShareBidContract)" + } + }, + "id": 41237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5413:19:18", + "memberName": "emitMatchBidAndHint", + "nodeType": "MemberAccess", + "referencedDeclaration": 41177, + "src": "5393:39:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" + } + }, + "id": 41240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5393:55:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41204, + "id": 41241, + "nodeType": "Return", + "src": "5386:62:18" + } + ] + }, + "baseFunctions": [ + 41177 + ], + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitMatchBidAndHint", + "nameLocation": "5074:19:18", + "overrides": { + "id": 41201, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5157:8:18" + }, + "parameters": { + "id": 41200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41197, + "mutability": "mutable", + "name": "bid", + "nameLocation": "5111:3:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5094:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41196, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41195, + "name": "Suave.Bid", + "nameLocations": [ + "5094:5:18", + "5100:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "5094:9:18" + }, + "referencedDeclaration": 39328, + "src": "5094:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41199, + "mutability": "mutable", + "name": "matchHint", + "nameLocation": "5129:9:18", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5116:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41198, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5116:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5093:46:18" + }, + "returnParameters": { + "id": 41204, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41203, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41243, + "src": "5175:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41202, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5175:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5174:14:18" + }, + "scope": 41244, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41179, + "name": "MevShareBidContract", + "nameLocations": [ + "4932:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41178, + "src": "4932:19:18" + }, + "id": 41180, + "nodeType": "InheritanceSpecifier", + "src": "4932:19:18" + } + ], + "canonicalName": "MevShareBundleSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 41244, + 41178, + 40712 + ], + "name": "MevShareBundleSenderContract", + "nameLocation": "4900:28:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 41250, + "nodeType": "StructDefinition", + "src": "5511:81:18", + "nodes": [], + "canonicalName": "EgpBidPair", + "members": [ + { + "constant": false, + "id": 41246, + "mutability": "mutable", + "name": "egp", + "nameLocation": "5539:3:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5532:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41245, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "5532:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41249, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5584:5:18", + "nodeType": "VariableDeclaration", + "scope": 41250, + "src": "5572:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41248, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41247, + "name": "Suave.BidId", + "nameLocations": [ + "5572:5:18", + "5578:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5572:11:18" + }, + "referencedDeclaration": 39311, + "src": "5572:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "name": "EgpBidPair", + "nameLocation": "5518:10:18", + "scope": 42152, + "visibility": "public" + }, + { + "id": 42069, + "nodeType": "ContractDefinition", + "src": "5594:5568:18", + "nodes": [ + { + "id": 41259, + "nodeType": "EventDefinition", + "src": "5645:71:18", + "nodes": [], + "anonymous": false, + "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", + "name": "BuilderBoostBidEvent", + "nameLocation": "5651:20:18", + "parameters": { + "id": 41258, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41255, + "indexed": false, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "5687:5:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5675:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41254, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41253, + "name": "Suave.BidId", + "nameLocations": [ + "5675:5:18", + "5681:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5675:11:18" + }, + "referencedDeclaration": 39311, + "src": "5675:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41257, + "indexed": false, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "5702:10:18", + "nodeType": "VariableDeclaration", + "scope": 41259, + "src": "5696:16:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41256, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5696:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "5671:44:18" + } + }, + { + "id": 41314, + "nodeType": "FunctionDefinition", + "src": "5720:276:18", + "nodes": [], + "body": { + "id": 41313, + "nodeType": "Block", + "src": "5797:199:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41271 + ], + "declarations": [ + { + "constant": false, + "id": 41271, + "mutability": "mutable", + "name": "l", + "nameLocation": "5814:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5801:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41270, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5801:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41276, + "initialValue": { + "arguments": [ + { + "id": 41274, + "name": "_l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41262, + "src": "5835:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41272, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5818:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5822:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5818:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5801:37:18" + }, + { + "assignments": [ + 41278 + ], + "declarations": [ + { + "constant": false, + "id": 41278, + "mutability": "mutable", + "name": "r", + "nameLocation": "5855:1:18", + "nodeType": "VariableDeclaration", + "scope": 41313, + "src": "5842:14:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41277, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5842:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41283, + "initialValue": { + "arguments": [ + { + "id": 41281, + "name": "_r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41265, + "src": "5876:2:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "expression": { + "id": 41279, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "5859:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "5863:12:18", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5859:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5859:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5842:37:18" + }, + { + "body": { + "id": 41309, + "nodeType": "Block", + "src": "5919:58:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + }, + "id": 41304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "arguments": [ + { + "id": 41297, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5934:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5928:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41295, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5928:5:18", + "typeDescriptions": {} + } + }, + "id": 41298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "5928:8:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41300, + "indexExpression": { + "id": 41299, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5937:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5928:11:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "baseExpression": { + "id": 41301, + "name": "r", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41278, + "src": "5943:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41303, + "indexExpression": { + "id": 41302, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5945:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5943:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "5928:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41308, + "nodeType": "IfStatement", + "src": "5924:49:18", + "trueBody": { + "id": 41307, + "nodeType": "Block", + "src": "5949:24:18", + "statements": [ + { + "expression": { + "hexValue": "66616c7365", + "id": 41305, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5962:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 41269, + "id": 41306, + "nodeType": "Return", + "src": "5955:12:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41288, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5900:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41289, + "name": "l", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41271, + "src": "5904:1:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 41290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "5906:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "5904:8:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5900:12:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41310, + "initializationExpression": { + "assignments": [ + 41285 + ], + "declarations": [ + { + "constant": false, + "id": 41285, + "mutability": "mutable", + "name": "i", + "nameLocation": "5893:1:18", + "nodeType": "VariableDeclaration", + "scope": 41310, + "src": "5888:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41284, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5888:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41287, + "initialValue": { + "hexValue": "30", + "id": 41286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "5888:10:18" + }, + "loopExpression": { + "expression": { + "id": 41293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "5914:3:18", + "subExpression": { + "id": 41292, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41285, + "src": "5914:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41294, + "nodeType": "ExpressionStatement", + "src": "5914:3:18" + }, + "nodeType": "ForStatement", + "src": "5883:94:18" + }, + { + "expression": { + "hexValue": "74727565", + "id": 41311, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5988:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 41269, + "id": 41312, + "nodeType": "Return", + "src": "5981:11:18" + } + ] + }, + "functionSelector": "e829cd5d", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "idsEqual", + "nameLocation": "5729:8:18", + "parameters": { + "id": 41266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41262, + "mutability": "mutable", + "name": "_l", + "nameLocation": "5750:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5738:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41261, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41260, + "name": "Suave.BidId", + "nameLocations": [ + "5738:5:18", + "5744:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5738:11:18" + }, + "referencedDeclaration": 39311, + "src": "5738:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41265, + "mutability": "mutable", + "name": "_r", + "nameLocation": "5766:2:18", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5754:14:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 41264, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41263, + "name": "Suave.BidId", + "nameLocations": [ + "5754:5:18", + "5760:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "5754:11:18" + }, + "referencedDeclaration": 39311, + "src": "5754:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + } + ], + "src": "5737:32:18" + }, + "returnParameters": { + "id": 41269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41268, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41314, + "src": "5791:4:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 41267, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5791:4:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5790:6:18" + }, + "scope": 42069, + "stateMutability": "pure", + "virtual": false, + "visibility": "public" + }, + { + "id": 41633, + "nodeType": "FunctionDefinition", + "src": "5999:2014:18", + "nodes": [], + "body": { + "id": 41632, + "nodeType": "Block", + "src": "6111:1902:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41325, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6123:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6129:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "6123:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6123:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41324, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "6115:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6115:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41329, + "nodeType": "ExpressionStatement", + "src": "6115:31:18" + }, + { + "assignments": [ + 41335 + ], + "declarations": [ + { + "constant": false, + "id": 41335, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "6170:17:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6151:36:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41333, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41332, + "name": "Suave.Bid", + "nameLocations": [ + "6151:5:18", + "6157:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6151:9:18" + }, + "referencedDeclaration": 39328, + "src": "6151:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41334, + "nodeType": "ArrayTypeName", + "src": "6151:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41341, + "initialValue": { + "arguments": [ + { + "id": 41338, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6206:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a6d6174636842696473", + "id": 41339, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6219:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + }, + "value": "mevshare:v0:matchBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", + "typeString": "literal_string \"mevshare:v0:matchBids\"" + } + ], + "expression": { + "id": 41336, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6190:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6196:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6190:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6190:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6151:92:18" + }, + { + "assignments": [ + 41347 + ], + "declarations": [ + { + "constant": false, + "id": 41347, + "mutability": "mutable", + "name": "allShareUserBids", + "nameLocation": "6266:16:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6247:35:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41345, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41344, + "name": "Suave.Bid", + "nameLocations": [ + "6247:5:18", + "6253:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6247:9:18" + }, + "referencedDeclaration": 39328, + "src": "6247:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41346, + "nodeType": "ArrayTypeName", + "src": "6247:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41353, + "initialValue": { + "arguments": [ + { + "id": 41350, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "6301:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", + "id": 41351, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6314:30:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + }, + "value": "mevshare:v0:unmatchedBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", + "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" + } + ], + "expression": { + "id": 41348, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6285:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6291:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "6285:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6285:60:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6247:98:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41354, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6354:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6371:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6354:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6381:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "6354:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41369, + "nodeType": "IfStatement", + "src": "6350:97:18", + "trueBody": { + "id": 41368, + "nodeType": "Block", + "src": "6384:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41363, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "6425:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6417:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41361, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6417:7:18", + "typeDescriptions": {} + } + }, + "id": 41364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6417:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6432:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41358, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6396:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6402:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "6396:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6396:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41367, + "nodeType": "RevertStatement", + "src": "6389:53:18" + } + ] + } + }, + { + "assignments": [ + 41375 + ], + "declarations": [ + { + "constant": false, + "id": 41375, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "6470:7:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "6451:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41373, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41372, + "name": "Suave.Bid", + "nameLocations": [ + "6451:5:18", + "6457:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6451:9:18" + }, + "referencedDeclaration": 39328, + "src": "6451:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41374, + "nodeType": "ArrayTypeName", + "src": "6451:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41383, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41380, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6496:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6513:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6496:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "6480:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41377, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41376, + "name": "Suave.Bid", + "nameLocations": [ + "6484:5:18", + "6490:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6484:9:18" + }, + "referencedDeclaration": 39328, + "src": "6484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41378, + "nodeType": "ArrayTypeName", + "src": "6484:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + } + }, + "id": 41382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6480:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6451:69:18" + }, + { + "body": { + "id": 41463, + "nodeType": "Block", + "src": "6575:566:18", + "statements": [ + { + "assignments": [ + 41399 + ], + "declarations": [ + { + "constant": false, + "id": 41399, + "mutability": "mutable", + "name": "bidToInsert", + "nameLocation": "6636:11:18", + "nodeType": "VariableDeclaration", + "scope": 41463, + "src": "6619:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41398, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41397, + "name": "Suave.Bid", + "nameLocations": [ + "6619:5:18", + "6625:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "6619:9:18" + }, + "referencedDeclaration": 39328, + "src": "6619:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41403, + "initialValue": { + "baseExpression": { + "id": 41400, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6650:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41402, + "indexExpression": { + "id": 41401, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6667:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6650:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6619:50:18" + }, + { + "body": { + "id": 41455, + "nodeType": "Block", + "src": "6772:336:18", + "statements": [ + { + "assignments": [ + 41420 + ], + "declarations": [ + { + "constant": false, + "id": 41420, + "mutability": "mutable", + "name": "mergedBidIds", + "nameLocation": "6856:12:18", + "nodeType": "VariableDeclaration", + "scope": 41455, + "src": "6835:33:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41418, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41417, + "name": "Suave.BidId", + "nameLocations": [ + "6835:5:18", + "6841:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "6835:11:18" + }, + "referencedDeclaration": 39311, + "src": "6835:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41419, + "nodeType": "ArrayTypeName", + "src": "6835:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41436, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41425, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6914:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41427, + "indexExpression": { + "id": 41426, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6932:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6914:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41428, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6935:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "6914:23:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a6d657267656442696473", + "id": 41429, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6939:24:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + }, + "value": "mevshare:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", + "typeString": "literal_string \"mevshare:v0:mergedBids\"" + } + ], + "expression": { + "id": 41423, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6882:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6888:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "6882:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6882:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "baseExpression": { + "expression": { + "id": 41431, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "6967:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6973:5:18", + "memberName": "BidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 39311, + "src": "6967:11:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", + "typeString": "type(Suave.BidId)" + } + }, + "id": 41433, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6967:13:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "id": 41434, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "6966:15:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "type(Suave.BidId[] memory)" + } + ], + "expression": { + "id": 41421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "6871:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "6875:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "6871:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41435, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6871:111:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6835:147:18" + }, + { + "condition": { + "arguments": [ + { + "baseExpression": { + "id": 41438, + "name": "mergedBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41420, + "src": "7001:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41440, + "indexExpression": { + "hexValue": "30", + "id": 41439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7001:15:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "baseExpression": { + "id": 41441, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "7018:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41443, + "indexExpression": { + "id": 41442, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7035:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7018:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41444, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7038:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7018:22:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41437, + "name": "idsEqual", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41314, + "src": "6992:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", + "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" + } + }, + "id": 41445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "6992:49:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41454, + "nodeType": "IfStatement", + "src": "6988:115:18", + "trueBody": { + "id": 41453, + "nodeType": "Block", + "src": "7043:60:18", + "statements": [ + { + "expression": { + "id": 41450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 41446, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7050:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41447, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "7064:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41449, + "indexExpression": { + "id": 41448, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "7082:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7064:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7050:34:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41451, + "nodeType": "ExpressionStatement", + "src": "7050:34:18" + }, + { + "id": 41452, + "nodeType": "Break", + "src": "7091:5:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41408, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6737:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41409, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41335, + "src": "6741:17:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41410, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6759:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6741:24:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6737:28:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41456, + "initializationExpression": { + "assignments": [ + 41405 + ], + "declarations": [ + { + "constant": false, + "id": 41405, + "mutability": "mutable", + "name": "j", + "nameLocation": "6730:1:18", + "nodeType": "VariableDeclaration", + "scope": 41456, + "src": "6725:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6725:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41407, + "initialValue": { + "hexValue": "30", + "id": 41406, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6734:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6725:10:18" + }, + "loopExpression": { + "expression": { + "id": 41413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6767:3:18", + "subExpression": { + "id": 41412, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41405, + "src": "6767:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41414, + "nodeType": "ExpressionStatement", + "src": "6767:3:18" + }, + "nodeType": "ForStatement", + "src": "6720:388:18" + }, + { + "expression": { + "id": 41461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41457, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7112:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41459, + "indexExpression": { + "id": 41458, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "7120:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7112:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41460, + "name": "bidToInsert", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41399, + "src": "7125:11:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "src": "7112:24:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41462, + "nodeType": "ExpressionStatement", + "src": "7112:24:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41388, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6541:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41389, + "name": "allShareUserBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41347, + "src": "6545:16:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6562:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "6545:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6541:27:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41464, + "initializationExpression": { + "assignments": [ + 41385 + ], + "declarations": [ + { + "constant": false, + "id": 41385, + "mutability": "mutable", + "name": "i", + "nameLocation": "6534:1:18", + "nodeType": "VariableDeclaration", + "scope": 41464, + "src": "6529:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41384, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6529:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41387, + "initialValue": { + "hexValue": "30", + "id": 41386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6538:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "6529:10:18" + }, + "loopExpression": { + "expression": { + "id": 41393, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "6570:3:18", + "subExpression": { + "id": 41392, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41385, + "src": "6570:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41394, + "nodeType": "ExpressionStatement", + "src": "6570:3:18" + }, + "nodeType": "ForStatement", + "src": "6524:617:18" + }, + { + "assignments": [ + 41469 + ], + "declarations": [ + { + "constant": false, + "id": 41469, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "7165:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7145:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41467, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41466, + "name": "EgpBidPair", + "nameLocations": [ + "7145:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7145:10:18" + }, + "referencedDeclaration": 41250, + "src": "7145:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41468, + "nodeType": "ArrayTypeName", + "src": "7145:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41477, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41474, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7194:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7202:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7194:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7177:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41471, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41470, + "name": "EgpBidPair", + "nameLocations": [ + "7181:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7181:10:18" + }, + "referencedDeclaration": 41250, + "src": "7181:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41472, + "nodeType": "ArrayTypeName", + "src": "7181:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41476, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7177:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7145:64:18" + }, + { + "body": { + "id": 41522, + "nodeType": "Block", + "src": "7255:217:18", + "statements": [ + { + "assignments": [ + 41490 + ], + "declarations": [ + { + "constant": false, + "id": 41490, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "7273:10:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7260:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41489, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "7260:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41499, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41493, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7318:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41495, + "indexExpression": { + "id": 41494, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7326:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7318:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7329:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7318:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", + "id": 41497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7333:33:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + }, + "value": "mevshare:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", + "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41491, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "7286:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7292:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "7286:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41498, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7286:81:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7260:107:18" + }, + { + "assignments": [ + 41501 + ], + "declarations": [ + { + "constant": false, + "id": 41501, + "mutability": "mutable", + "name": "egp", + "nameLocation": "7379:3:18", + "nodeType": "VariableDeclaration", + "scope": 41522, + "src": "7372:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41500, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7372:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41509, + "initialValue": { + "arguments": [ + { + "id": 41504, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41490, + "src": "7396:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41506, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7409:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41505, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "7409:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41507, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "7408:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41502, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "7385:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "7389:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "7385:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7385:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7372:45:18" + }, + { + "expression": { + "id": 41520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41510, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7422:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41512, + "indexExpression": { + "id": 41511, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7432:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7422:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41514, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41501, + "src": "7448:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41515, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7453:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41517, + "indexExpression": { + "id": 41516, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7461:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7453:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41518, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7464:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "7453:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41513, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "7437:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41519, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7437:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7422:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41521, + "nodeType": "ExpressionStatement", + "src": "7422:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41482, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7230:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41483, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7234:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41484, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7242:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7234:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7230:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41523, + "initializationExpression": { + "assignments": [ + 41479 + ], + "declarations": [ + { + "constant": false, + "id": 41479, + "mutability": "mutable", + "name": "i", + "nameLocation": "7223:1:18", + "nodeType": "VariableDeclaration", + "scope": 41523, + "src": "7218:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41478, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7218:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41481, + "initialValue": { + "hexValue": "30", + "id": 41480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7227:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:10:18" + }, + "loopExpression": { + "expression": { + "id": 41487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7250:3:18", + "subExpression": { + "id": 41486, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41479, + "src": "7250:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41488, + "nodeType": "ExpressionStatement", + "src": "7250:3:18" + }, + "nodeType": "ForStatement", + "src": "7213:259:18" + }, + { + "assignments": [ + 41525 + ], + "declarations": [ + { + "constant": false, + "id": 41525, + "mutability": "mutable", + "name": "n", + "nameLocation": "7513:1:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7508:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41524, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41528, + "initialValue": { + "expression": { + "id": 41526, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7517:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7527:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7517:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7508:25:18" + }, + { + "body": { + "id": 41587, + "nodeType": "Block", + "src": "7570:205:18", + "statements": [ + { + "body": { + "id": 41585, + "nodeType": "Block", + "src": "7608:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41553, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7618:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41555, + "indexExpression": { + "id": 41554, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7628:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7618:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41556, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7631:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7618:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41557, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7637:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41559, + "indexExpression": { + "id": 41558, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7647:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7637:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41560, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7650:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "7637:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "7618:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41584, + "nodeType": "IfStatement", + "src": "7614:152:18", + "trueBody": { + "id": 41583, + "nodeType": "Block", + "src": "7655:111:18", + "statements": [ + { + "assignments": [ + 41564 + ], + "declarations": [ + { + "constant": false, + "id": 41564, + "mutability": "mutable", + "name": "temp", + "nameLocation": "7680:4:18", + "nodeType": "VariableDeclaration", + "scope": 41583, + "src": "7662:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41563, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41562, + "name": "EgpBidPair", + "nameLocations": [ + "7662:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "7662:10:18" + }, + "referencedDeclaration": 41250, + "src": "7662:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41568, + "initialValue": { + "baseExpression": { + "id": 41565, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7687:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41567, + "indexExpression": { + "id": 41566, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7697:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7687:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7662:37:18" + }, + { + "expression": { + "id": 41575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41569, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7706:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41571, + "indexExpression": { + "id": 41570, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7716:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7706:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41572, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7721:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41574, + "indexExpression": { + "id": 41573, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7731:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7721:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7706:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41576, + "nodeType": "ExpressionStatement", + "src": "7706:27:18" + }, + { + "expression": { + "id": 41581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41577, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7740:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41579, + "indexExpression": { + "id": 41578, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7750:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7740:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41580, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41564, + "src": "7755:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "7740:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41582, + "nodeType": "ExpressionStatement", + "src": "7740:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41549, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41547, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7596:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41548, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7600:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7596:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41586, + "initializationExpression": { + "assignments": [ + 41542 + ], + "declarations": [ + { + "constant": false, + "id": 41542, + "mutability": "mutable", + "name": "j", + "nameLocation": "7585:1:18", + "nodeType": "VariableDeclaration", + "scope": 41586, + "src": "7580:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41541, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7580:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41546, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41543, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7589:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41544, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7593:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7589:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7580:14:18" + }, + "loopExpression": { + "expression": { + "id": 41551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7603:3:18", + "subExpression": { + "id": 41550, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41542, + "src": "7603:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41552, + "nodeType": "ExpressionStatement", + "src": "7603:3:18" + }, + "nodeType": "ForStatement", + "src": "7575:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41533, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7554:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41534, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41525, + "src": "7558:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7562:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "7558:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7554:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41588, + "initializationExpression": { + "assignments": [ + 41530 + ], + "declarations": [ + { + "constant": false, + "id": 41530, + "mutability": "mutable", + "name": "i", + "nameLocation": "7547:1:18", + "nodeType": "VariableDeclaration", + "scope": 41588, + "src": "7542:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7542:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41532, + "initialValue": { + "hexValue": "30", + "id": 41531, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7551:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7542:10:18" + }, + "loopExpression": { + "expression": { + "id": 41539, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7565:3:18", + "subExpression": { + "id": 41538, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41530, + "src": "7565:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41540, + "nodeType": "ExpressionStatement", + "src": "7565:3:18" + }, + "nodeType": "ForStatement", + "src": "7537:238:18" + }, + { + "assignments": [ + 41594 + ], + "declarations": [ + { + "constant": false, + "id": 41594, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "7800:9:18", + "nodeType": "VariableDeclaration", + "scope": 41632, + "src": "7779:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41592, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41591, + "name": "Suave.BidId", + "nameLocations": [ + "7779:5:18", + "7785:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7779:11:18" + }, + "referencedDeclaration": 39311, + "src": "7779:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41593, + "nodeType": "ArrayTypeName", + "src": "7779:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41602, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41599, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41375, + "src": "7830:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7838:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7830:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "7812:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41596, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41595, + "name": "Suave.BidId", + "nameLocations": [ + "7816:5:18", + "7822:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "7816:11:18" + }, + "referencedDeclaration": 39311, + "src": "7816:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41597, + "nodeType": "ArrayTypeName", + "src": "7816:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7812:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7779:66:18" + }, + { + "body": { + "id": 41623, + "nodeType": "Block", + "src": "7893:43:18", + "statements": [ + { + "expression": { + "id": 41621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41614, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7898:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41616, + "indexExpression": { + "id": 41615, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7908:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7898:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41617, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41619, + "indexExpression": { + "id": 41618, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7923:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7913:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41620, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7926:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "7913:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "7898:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41622, + "nodeType": "ExpressionStatement", + "src": "7898:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41610, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41607, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7866:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41608, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41469, + "src": "7870:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41609, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "7880:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "7870:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7866:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41624, + "initializationExpression": { + "assignments": [ + 41604 + ], + "declarations": [ + { + "constant": false, + "id": 41604, + "mutability": "mutable", + "name": "i", + "nameLocation": "7859:1:18", + "nodeType": "VariableDeclaration", + "scope": 41624, + "src": "7854:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7854:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41606, + "initialValue": { + "hexValue": "30", + "id": 41605, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7863:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "7854:10:18" + }, + "loopExpression": { + "expression": { + "id": 41612, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "7888:3:18", + "subExpression": { + "id": 41611, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41604, + "src": "7888:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41613, + "nodeType": "ExpressionStatement", + "src": "7888:3:18" + }, + "nodeType": "ForStatement", + "src": "7849:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41626, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41317, + "src": "7960:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41627, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41319, + "src": "7971:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41628, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41594, + "src": "7984:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "6d657673686172653a7630", + "id": 41629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7995:13:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + }, + "value": "mevshare:v0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", + "typeString": "literal_string \"mevshare:v0\"" + } + ], + "id": 41625, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "7947:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "7947:62:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41323, + "id": 41631, + "nodeType": "Return", + "src": "7940:69:18" + } + ] + }, + "functionSelector": "54dfbd39", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildMevShare", + "nameLocation": "6008:13:18", + "parameters": { + "id": 41320, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41317, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "6050:9:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6022:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41316, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41315, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "6022:5:18", + "6028:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "6022:20:18" + }, + "referencedDeclaration": 39347, + "src": "6022:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41319, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "6068:11:18", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6061:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41318, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "6061:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "6021:59:18" + }, + "returnParameters": { + "id": 41323, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41322, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41633, + "src": "6097:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41321, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "6097:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "6096:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41845, + "nodeType": "FunctionDefinition", + "src": "8016:1186:18", + "nodes": [], + "body": { + "id": 41844, + "nodeType": "Block", + "src": "8128:1074:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41644, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8140:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8146:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "8140:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8140:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41643, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "8132:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8132:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41648, + "nodeType": "ExpressionStatement", + "src": "8132:31:18" + }, + { + "assignments": [ + 41654 + ], + "declarations": [ + { + "constant": false, + "id": 41654, + "mutability": "mutable", + "name": "allBids", + "nameLocation": "8187:7:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8168:26:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 41652, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41651, + "name": "Suave.Bid", + "nameLocations": [ + "8168:5:18", + "8174:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "8168:9:18" + }, + "referencedDeclaration": 39328, + "src": "8168:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 41653, + "nodeType": "ArrayTypeName", + "src": "8168:11:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 41660, + "initialValue": { + "arguments": [ + { + "id": 41657, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "8213:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 41658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8226:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 41655, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8197:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8203:9:18", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 39687, + "src": "8197:15:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 41659, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8197:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8168:82:18" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41664, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 41661, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8258:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8266:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8258:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 41663, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8276:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "8258:19:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41676, + "nodeType": "IfStatement", + "src": "8254:88:18", + "trueBody": { + "id": 41675, + "nodeType": "Block", + "src": "8279:63:18", + "statements": [ + { + "errorCall": { + "arguments": [ + { + "arguments": [ + { + "id": 41670, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "8320:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8312:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41668, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8312:7:18", + "typeDescriptions": {} + } + }, + "id": 41671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8312:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "hexValue": "6e6f2062696473", + "id": 41672, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8327:9:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + }, + "value": "no bids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", + "typeString": "literal_string \"no bids\"" + } + ], + "expression": { + "id": 41665, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8291:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8297:14:18", + "memberName": "PeekerReverted", + "nodeType": "MemberAccess", + "referencedDeclaration": 39309, + "src": "8291:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,bytes memory) pure" + } + }, + "id": 41673, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8291:46:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41674, + "nodeType": "RevertStatement", + "src": "8284:53:18" + } + ] + } + }, + { + "assignments": [ + 41681 + ], + "declarations": [ + { + "constant": false, + "id": 41681, + "mutability": "mutable", + "name": "bidsByEGP", + "nameLocation": "8366:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8346:29:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair[]" + }, + "typeName": { + "baseType": { + "id": 41679, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41678, + "name": "EgpBidPair", + "nameLocations": [ + "8346:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8346:10:18" + }, + "referencedDeclaration": 41250, + "src": "8346:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41680, + "nodeType": "ArrayTypeName", + "src": "8346:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + }, + "visibility": "internal" + } + ], + "id": 41689, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41686, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8395:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8403:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8395:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41685, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "8378:16:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" + }, + "typeName": { + "baseType": { + "id": 41683, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41682, + "name": "EgpBidPair", + "nameLocations": [ + "8382:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8382:10:18" + }, + "referencedDeclaration": 41250, + "src": "8382:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "id": 41684, + "nodeType": "ArrayTypeName", + "src": "8382:12:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", + "typeString": "struct EgpBidPair[]" + } + } + }, + "id": 41688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8378:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8346:64:18" + }, + { + "body": { + "id": 41734, + "nodeType": "Block", + "src": "8456:216:18", + "statements": [ + { + "assignments": [ + 41702 + ], + "declarations": [ + { + "constant": false, + "id": 41702, + "mutability": "mutable", + "name": "simResults", + "nameLocation": "8474:10:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8461:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41701, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8461:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41711, + "initialValue": { + "arguments": [ + { + "expression": { + "baseExpression": { + "id": 41705, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8519:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41707, + "indexExpression": { + "id": 41706, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8527:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8519:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8530:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8519:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", + "id": 41709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8534:32:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + }, + "value": "default:v0:ethBundleSimResults" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", + "typeString": "literal_string \"default:v0:ethBundleSimResults\"" + } + ], + "expression": { + "id": 41703, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "8487:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8493:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "8487:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 41710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8487:80:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8461:106:18" + }, + { + "assignments": [ + 41713 + ], + "declarations": [ + { + "constant": false, + "id": 41713, + "mutability": "mutable", + "name": "egp", + "nameLocation": "8579:3:18", + "nodeType": "VariableDeclaration", + "scope": 41734, + "src": "8572:10:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41712, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8572:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "id": 41721, + "initialValue": { + "arguments": [ + { + "id": 41716, + "name": "simResults", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41702, + "src": "8596:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 41718, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8609:6:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 41717, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8609:6:18", + "typeDescriptions": {} + } + } + ], + "id": 41719, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "8608:8:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 41714, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "8585:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41715, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "8589:6:18", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "8585:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 41720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8585:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8572:45:18" + }, + { + "expression": { + "id": 41732, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41722, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8622:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41724, + "indexExpression": { + "id": 41723, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8632:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8622:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41726, + "name": "egp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41713, + "src": "8648:3:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "baseExpression": { + "id": 41727, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8653:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41729, + "indexExpression": { + "id": 41728, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8661:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8653:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41730, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8664:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "8653:13:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + ], + "id": 41725, + "name": "EgpBidPair", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41250, + "src": "8637:10:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", + "typeString": "type(struct EgpBidPair storage pointer)" + } + }, + "id": 41731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "8637:30:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8622:45:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41733, + "nodeType": "ExpressionStatement", + "src": "8622:45:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41694, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8431:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41695, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "8435:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8443:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8435:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8431:18:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41735, + "initializationExpression": { + "assignments": [ + 41691 + ], + "declarations": [ + { + "constant": false, + "id": 41691, + "mutability": "mutable", + "name": "i", + "nameLocation": "8424:1:18", + "nodeType": "VariableDeclaration", + "scope": 41735, + "src": "8419:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41690, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8419:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41693, + "initialValue": { + "hexValue": "30", + "id": 41692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8428:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8419:10:18" + }, + "loopExpression": { + "expression": { + "id": 41699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8451:3:18", + "subExpression": { + "id": 41698, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41691, + "src": "8451:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41700, + "nodeType": "ExpressionStatement", + "src": "8451:3:18" + }, + "nodeType": "ForStatement", + "src": "8414:258:18" + }, + { + "assignments": [ + 41737 + ], + "declarations": [ + { + "constant": false, + "id": 41737, + "mutability": "mutable", + "name": "n", + "nameLocation": "8713:1:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8708:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41736, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8708:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41740, + "initialValue": { + "expression": { + "id": 41738, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8717:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8727:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "8717:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8708:25:18" + }, + { + "body": { + "id": 41799, + "nodeType": "Block", + "src": "8770:205:18", + "statements": [ + { + "body": { + "id": 41797, + "nodeType": "Block", + "src": "8808:163:18", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "id": 41773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "baseExpression": { + "id": 41765, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8818:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41767, + "indexExpression": { + "id": 41766, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8828:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41768, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8831:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8818:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "baseExpression": { + "id": 41769, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8837:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41771, + "indexExpression": { + "id": 41770, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8847:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8837:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41772, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "8850:3:18", + "memberName": "egp", + "nodeType": "MemberAccess", + "referencedDeclaration": 41246, + "src": "8837:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "src": "8818:35:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41796, + "nodeType": "IfStatement", + "src": "8814:152:18", + "trueBody": { + "id": 41795, + "nodeType": "Block", + "src": "8855:111:18", + "statements": [ + { + "assignments": [ + 41776 + ], + "declarations": [ + { + "constant": false, + "id": 41776, + "mutability": "mutable", + "name": "temp", + "nameLocation": "8880:4:18", + "nodeType": "VariableDeclaration", + "scope": 41795, + "src": "8862:22:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair" + }, + "typeName": { + "id": 41775, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41774, + "name": "EgpBidPair", + "nameLocations": [ + "8862:10:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 41250, + "src": "8862:10:18" + }, + "referencedDeclaration": 41250, + "src": "8862:10:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", + "typeString": "struct EgpBidPair" + } + }, + "visibility": "internal" + } + ], + "id": 41780, + "initialValue": { + "baseExpression": { + "id": 41777, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8887:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41779, + "indexExpression": { + "id": 41778, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8897:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8887:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8862:37:18" + }, + { + "expression": { + "id": 41787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41781, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8906:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41783, + "indexExpression": { + "id": 41782, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8916:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8906:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 41784, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8921:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41786, + "indexExpression": { + "id": 41785, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8931:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8921:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8906:27:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41788, + "nodeType": "ExpressionStatement", + "src": "8906:27:18" + }, + { + "expression": { + "id": 41793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41789, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "8940:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41791, + "indexExpression": { + "id": 41790, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8950:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8940:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 41792, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41776, + "src": "8955:4:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "src": "8940:19:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41794, + "nodeType": "ExpressionStatement", + "src": "8940:19:18" + } + ] + } + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41759, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8796:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "id": 41760, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8800:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8796:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41798, + "initializationExpression": { + "assignments": [ + 41754 + ], + "declarations": [ + { + "constant": false, + "id": 41754, + "mutability": "mutable", + "name": "j", + "nameLocation": "8785:1:18", + "nodeType": "VariableDeclaration", + "scope": 41798, + "src": "8780:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41753, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8780:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41758, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41755, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8789:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 41756, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8793:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8789:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8780:14:18" + }, + "loopExpression": { + "expression": { + "id": 41763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8803:3:18", + "subExpression": { + "id": 41762, + "name": "j", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41754, + "src": "8803:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41764, + "nodeType": "ExpressionStatement", + "src": "8803:3:18" + }, + "nodeType": "ForStatement", + "src": "8775:196:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41745, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8754:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41746, + "name": "n", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41737, + "src": "8758:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "hexValue": "31", + "id": 41747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8762:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "8758:5:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8754:9:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41800, + "initializationExpression": { + "assignments": [ + 41742 + ], + "declarations": [ + { + "constant": false, + "id": 41742, + "mutability": "mutable", + "name": "i", + "nameLocation": "8747:1:18", + "nodeType": "VariableDeclaration", + "scope": 41800, + "src": "8742:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41741, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8742:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41744, + "initialValue": { + "hexValue": "30", + "id": 41743, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8751:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "8742:10:18" + }, + "loopExpression": { + "expression": { + "id": 41751, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "8765:3:18", + "subExpression": { + "id": 41750, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41742, + "src": "8765:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41752, + "nodeType": "ExpressionStatement", + "src": "8765:3:18" + }, + "nodeType": "ForStatement", + "src": "8737:238:18" + }, + { + "assignments": [ + 41806 + ], + "declarations": [ + { + "constant": false, + "id": 41806, + "mutability": "mutable", + "name": "allBidIds", + "nameLocation": "9000:9:18", + "nodeType": "VariableDeclaration", + "scope": 41844, + "src": "8979:30:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41804, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41803, + "name": "Suave.BidId", + "nameLocations": [ + "8979:5:18", + "8985:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "8979:11:18" + }, + "referencedDeclaration": 39311, + "src": "8979:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41805, + "nodeType": "ArrayTypeName", + "src": "8979:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + } + ], + "id": 41814, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 41811, + "name": "allBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41654, + "src": "9030:7:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 41812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9038:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9030:14:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 41810, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9012:17:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" + }, + "typeName": { + "baseType": { + "id": 41808, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41807, + "name": "Suave.BidId", + "nameLocations": [ + "9016:5:18", + "9022:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9016:11:18" + }, + "referencedDeclaration": 39311, + "src": "9016:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41809, + "nodeType": "ArrayTypeName", + "src": "9016:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + } + }, + "id": 41813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9012:33:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8979:66:18" + }, + { + "body": { + "id": 41835, + "nodeType": "Block", + "src": "9093:43:18", + "statements": [ + { + "expression": { + "id": 41833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41826, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9098:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + "id": 41828, + "indexExpression": { + "id": 41827, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9108:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9098:12:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "baseExpression": { + "id": 41829, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9113:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41831, + "indexExpression": { + "id": 41830, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9123:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9113:12:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", + "typeString": "struct EgpBidPair memory" + } + }, + "id": 41832, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9126:5:18", + "memberName": "bidId", + "nodeType": "MemberAccess", + "referencedDeclaration": 41249, + "src": "9113:18:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "src": "9098:33:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41834, + "nodeType": "ExpressionStatement", + "src": "9098:33:18" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 41822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 41819, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9066:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 41820, + "name": "bidsByEGP", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41681, + "src": "9070:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", + "typeString": "struct EgpBidPair memory[] memory" + } + }, + "id": 41821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9080:6:18", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "9070:16:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9066:20:18", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 41836, + "initializationExpression": { + "assignments": [ + 41816 + ], + "declarations": [ + { + "constant": false, + "id": 41816, + "mutability": "mutable", + "name": "i", + "nameLocation": "9059:1:18", + "nodeType": "VariableDeclaration", + "scope": 41836, + "src": "9054:6:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41815, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "9054:4:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 41818, + "initialValue": { + "hexValue": "30", + "id": 41817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9063:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "9054:10:18" + }, + "loopExpression": { + "expression": { + "id": 41824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "9088:3:18", + "subExpression": { + "id": 41823, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41816, + "src": "9088:1:18", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 41825, + "nodeType": "ExpressionStatement", + "src": "9088:3:18" + }, + "nodeType": "ForStatement", + "src": "9049:87:18" + }, + { + "expression": { + "arguments": [ + { + "id": 41838, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41636, + "src": "9160:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41839, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41638, + "src": "9171:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41840, + "name": "allBidIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41806, + "src": "9184:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "hexValue": "", + "id": 41841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9195:2:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 41837, + "name": "buildAndEmit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41911, + "src": "9147:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" + } + }, + "id": 41842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9147:51:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41642, + "id": 41843, + "nodeType": "Return", + "src": "9140:58:18" + } + ] + }, + "functionSelector": "ebb89de4", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildFromPool", + "nameLocation": "8025:13:18", + "parameters": { + "id": 41639, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41636, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "8067:9:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8039:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41635, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41634, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "8039:5:18", + "8045:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "8039:20:18" + }, + "referencedDeclaration": 39347, + "src": "8039:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41638, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "8085:11:18", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8078:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41637, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "8078:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + } + ], + "src": "8038:59:18" + }, + "returnParameters": { + "id": 41642, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41641, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41845, + "src": "8114:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41640, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "8114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "8113:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 41911, + "nodeType": "FunctionDefinition", + "src": "9205:556:18", + "nodes": [], + "body": { + "id": 41910, + "nodeType": "Block", + "src": "9376:385:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 41862, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "9388:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9394:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "9388:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 41864, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9388:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 41861, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "9380:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9380:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41866, + "nodeType": "ExpressionStatement", + "src": "9380:31:18" + }, + { + "assignments": [ + 41871, + 41873 + ], + "declarations": [ + { + "constant": false, + "id": 41871, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "9434:8:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9417:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41870, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41869, + "name": "Suave.Bid", + "nameLocations": [ + "9417:5:18", + "9423:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9417:9:18" + }, + "referencedDeclaration": 39328, + "src": "9417:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41873, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "9457:10:18", + "nodeType": "VariableDeclaration", + "scope": 41910, + "src": "9444:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41872, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9444:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41881, + "initialValue": { + "arguments": [ + { + "id": 41876, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41848, + "src": "9484:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 41877, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41850, + "src": "9495:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41878, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41854, + "src": "9508:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 41879, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41856, + "src": "9514:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41874, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9471:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9476:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "9471:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9471:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9416:108:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41883, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9555:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41884, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9564:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9555:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41885, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9568:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 41882, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "9534:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 41886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9534:45:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41887, + "nodeType": "EmitStatement", + "src": "9529:50:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 41889, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9597:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41890, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9606:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "9597:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 41891, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9610:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9619:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "9610:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 41893, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9640:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41894, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9649:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "9640:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 41888, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "9588:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 41895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9588:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41896, + "nodeType": "EmitStatement", + "src": "9583:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 41900, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "9688:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + }, + "id": 41901, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9693:20:18", + "memberName": "emitBuilderBidAndBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 42041, + "src": "9688:25:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 41902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9714:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "9688:34:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 41905, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41871, + "src": "9735:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 41906, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41873, + "src": "9745:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41903, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "9724:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "9728:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "9724:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41907, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9724:32:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41898, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9675:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 41897, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9675:5:18", + "typeDescriptions": {} + } + }, + "id": 41899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "9681:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "9675:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9675:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 41860, + "id": 41909, + "nodeType": "Return", + "src": "9668:89:18" + } + ] + }, + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "9214:12:18", + "parameters": { + "id": 41857, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41848, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9255:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9227:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41847, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41846, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9227:5:18", + "9233:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9227:20:18" + }, + "referencedDeclaration": 39347, + "src": "9227:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41850, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9273:11:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9266:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41849, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9266:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41854, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9307:4:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9286:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41852, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41851, + "name": "Suave.BidId", + "nameLocations": [ + "9286:5:18", + "9292:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9286:11:18" + }, + "referencedDeclaration": 39311, + "src": "9286:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41853, + "nodeType": "ArrayTypeName", + "src": "9286:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41856, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9327:9:18", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9313:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41855, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9313:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9226:111:18" + }, + "returnParameters": { + "id": 41860, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41859, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 41911, + "src": "9362:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41858, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9362:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9361:14:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "id": 42008, + "nodeType": "FunctionDefinition", + "src": "9764:781:18", + "nodes": [], + "body": { + "id": 42007, + "nodeType": "Block", + "src": "9945:600:18", + "nodes": [], + "statements": [ + { + "assignments": [ + 41934 + ], + "declarations": [ + { + "constant": false, + "id": 41934, + "mutability": "mutable", + "name": "allowedPeekers", + "nameLocation": "9966:14:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "9949:31:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 41932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9949:7:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41933, + "nodeType": "ArrayTypeName", + "src": "9949:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + } + ], + "id": 41940, + "initialValue": { + "arguments": [ + { + "hexValue": "32", + "id": 41938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9997:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + } + ], + "id": 41937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "9983:13:18", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", + "typeString": "function (uint256) pure returns (address[] memory)" + }, + "typeName": { + "baseType": { + "id": 41935, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9987:7:18", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41936, + "nodeType": "ArrayTypeName", + "src": "9987:9:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + } + }, + "id": 41939, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "9983:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9949:50:18" + }, + { + "expression": { + "id": 41948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41941, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10003:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41943, + "indexExpression": { + "hexValue": "30", + "id": 41942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10018:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10003:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 41946, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "10031:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", + "typeString": "contract EthBlockBidContract" + } + ], + "id": 41945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10023:7:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 41944, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10023:7:18", + "typeDescriptions": {} + } + }, + "id": 41947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10023:13:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10003:33:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41949, + "nodeType": "ExpressionStatement", + "src": "10003:33:18" + }, + { + "expression": { + "id": 41955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 41950, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10040:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + "id": 41952, + "indexExpression": { + "hexValue": "31", + "id": 41951, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10055:1:18", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10040:17:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 41953, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10060:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41954, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10066:15:18", + "memberName": "BUILD_ETH_BLOCK", + "nodeType": "MemberAccess", + "referencedDeclaration": 39362, + "src": "10060:21:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10040:41:18", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 41956, + "nodeType": "ExpressionStatement", + "src": "10040:41:18" + }, + { + "assignments": [ + 41961 + ], + "declarations": [ + { + "constant": false, + "id": 41961, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "10103:8:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10086:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41960, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41959, + "name": "Suave.Bid", + "nameLocations": [ + "10086:5:18", + "10092:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10086:9:18" + }, + "referencedDeclaration": 39328, + "src": "10086:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 41969, + "initialValue": { + "arguments": [ + { + "id": 41964, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41916, + "src": "10127:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 41965, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10140:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "id": 41966, + "name": "allowedPeekers", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41934, + "src": "10156:14:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10172:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + } + ], + "expression": { + "id": 41962, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10114:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10120:6:18", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 39772, + "src": "10114:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 41968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10114:82:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10086:110:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41973, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10229:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41974, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10238:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10229:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6d657267656442696473", + "id": 41975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10242:23:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + "value": "default:v0:mergedBids" + }, + { + "arguments": [ + { + "id": 41978, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41920, + "src": "10278:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + ], + "expression": { + "id": 41976, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "10267:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 41977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "10271:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "10267:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 41979, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10267:16:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", + "typeString": "literal_string \"default:v0:mergedBids\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41970, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10200:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41972, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10206:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10200:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 41980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10200:84:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 41981, + "nodeType": "ExpressionStatement", + "src": "10200:84:18" + }, + { + "assignments": [ + 41983, + 41985 + ], + "declarations": [ + { + "constant": false, + "id": 41983, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10306:10:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10293:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41982, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10293:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41985, + "mutability": "mutable", + "name": "payload", + "nameLocation": "10331:7:18", + "nodeType": "VariableDeclaration", + "scope": 42007, + "src": "10318:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41984, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10318:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 41993, + "initialValue": { + "arguments": [ + { + "id": 41988, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41914, + "src": "10362:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "expression": { + "id": 41989, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10373:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41990, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10382:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10373:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 41991, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41922, + "src": "10386:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 41986, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10342:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10348:13:18", + "memberName": "buildEthBlock", + "nodeType": "MemberAccess", + "referencedDeclaration": 39472, + "src": "10342:19:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" + } + }, + "id": 41992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10342:54:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bytes memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10292:104:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 41997, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10429:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 41998, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10438:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10429:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 41999, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10442:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + }, + { + "id": 42000, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41985, + "src": "10471:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 41994, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10400:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 41996, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10406:22:18", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 39569, + "src": "10400:28:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 42001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10400:79:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42002, + "nodeType": "ExpressionStatement", + "src": "10400:79:18" + }, + { + "expression": { + "components": [ + { + "id": 42003, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41961, + "src": "10520:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42004, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41983, + "src": "10530:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42005, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10519:22:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 41929, + "id": 42006, + "nodeType": "Return", + "src": "10512:29:18" + } + ] + }, + "functionSelector": "c2eceb11", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "doBuild", + "nameLocation": "9773:7:18", + "parameters": { + "id": 41923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41914, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "9809:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9781:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 41913, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41912, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "9781:5:18", + "9787:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "9781:20:18" + }, + "referencedDeclaration": 39347, + "src": "9781:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41916, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "9827:11:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9820:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 41915, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "9820:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41920, + "mutability": "mutable", + "name": "bids", + "nameLocation": "9861:4:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9840:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 41918, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41917, + "name": "Suave.BidId", + "nameLocations": [ + "9840:5:18", + "9846:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "9840:11:18" + }, + "referencedDeclaration": 39311, + "src": "9840:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 41919, + "nodeType": "ArrayTypeName", + "src": "9840:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41922, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "9881:9:18", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9867:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 41921, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "9867:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "9780:111:18" + }, + "returnParameters": { + "id": 41929, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41926, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9913:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 41925, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 41924, + "name": "Suave.Bid", + "nameLocations": [ + "9913:5:18", + "9919:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "9913:9:18" + }, + "referencedDeclaration": 39328, + "src": "9913:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 41928, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42008, + "src": "9931:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 41927, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "9931:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "9912:32:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "id": 42041, + "nodeType": "FunctionDefinition", + "src": "10548:276:18", + "nodes": [], + "body": { + "id": 42040, + "nodeType": "Block", + "src": "10673:151:18", + "nodes": [], + "statements": [ + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42022, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10703:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42023, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10707:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10703:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "id": 42024, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10711:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 42021, + "name": "BuilderBoostBidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 41259, + "src": "10682:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,bytes memory)" + } + }, + "id": 42025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10682:40:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42026, + "nodeType": "EmitStatement", + "src": "10677:45:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42028, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10740:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42029, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10744:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "10740:6:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42030, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10748:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42031, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10752:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "10748:23:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42032, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10773:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42033, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10777:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "10773:18:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42027, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "10731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10731:61:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42035, + "nodeType": "EmitStatement", + "src": "10726:66:18" + }, + { + "expression": { + "components": [ + { + "id": 42036, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42011, + "src": "10804:3:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + { + "id": 42037, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42013, + "src": "10809:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "id": 42038, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "10803:17:18", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "functionReturnParameters": 42020, + "id": 42039, + "nodeType": "Return", + "src": "10796:24:18" + } + ] + }, + "functionSelector": "b33e4715", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "emitBuilderBidAndBid", + "nameLocation": "10557:20:18", + "parameters": { + "id": 42014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42011, + "mutability": "mutable", + "name": "bid", + "nameLocation": "10595:3:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10578:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42010, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42009, + "name": "Suave.Bid", + "nameLocations": [ + "10578:5:18", + "10584:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10578:9:18" + }, + "referencedDeclaration": 39328, + "src": "10578:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42013, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "10613:10:18", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10600:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42012, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10600:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10577:47:18" + }, + "returnParameters": { + "id": 42020, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42017, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10641:16:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42016, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42015, + "name": "Suave.Bid", + "nameLocations": [ + "10641:5:18", + "10647:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "10641:9:18" + }, + "referencedDeclaration": 39328, + "src": "10641:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42019, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42041, + "src": "10659:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42018, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10659:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10640:32:18" + }, + "scope": 42069, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42068, + "nodeType": "FunctionDefinition", + "src": "10827:333:18", + "nodes": [], + "body": { + "id": 42067, + "nodeType": "Block", + "src": "10931:229:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42052, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "10943:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42053, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "10949:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "10943:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42054, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10943:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42051, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "10935:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42055, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "10935:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42056, + "nodeType": "ExpressionStatement", + "src": "10935:31:18" + }, + { + "assignments": [ + 42058 + ], + "declarations": [ + { + "constant": false, + "id": 42058, + "mutability": "mutable", + "name": "payload", + "nameLocation": "11061:7:18", + "nodeType": "VariableDeclaration", + "scope": 42067, + "src": "11048:20:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42057, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11048:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42064, + "initialValue": { + "arguments": [ + { + "id": 42061, + "name": "bidId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42044, + "src": "11103:5:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", + "id": 42062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11110:27:18", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + }, + "value": "default:v0:builderPayload" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", + "typeString": "literal_string \"default:v0:builderPayload\"" + } + ], + "expression": { + "id": 42059, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11071:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42060, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11077:25:18", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 39535, + "src": "11071:31:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 42063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11071:67:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11048:90:18" + }, + { + "expression": { + "id": 42065, + "name": "payload", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42058, + "src": "11149:7:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42050, + "id": 42066, + "nodeType": "Return", + "src": "11142:14:18" + } + ] + }, + "functionSelector": "7df1cde2", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "unlock", + "nameLocation": "10836:6:18", + "parameters": { + "id": 42047, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42044, + "mutability": "mutable", + "name": "bidId", + "nameLocation": "10855:5:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10843:17:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + "typeName": { + "id": 42043, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42042, + "name": "Suave.BidId", + "nameLocations": [ + "10843:5:18", + "10849:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "10843:11:18" + }, + "referencedDeclaration": 39311, + "src": "10843:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42046, + "mutability": "mutable", + "name": "signedBlindedHeader", + "nameLocation": "10875:19:18", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10862:32:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42045, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10862:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10842:53:18" + }, + "returnParameters": { + "id": 42050, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42049, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42068, + "src": "10917:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42048, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "10917:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "10916:14:18" + }, + "scope": 42069, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 41251, + "name": "AnyBidContract", + "nameLocations": [ + "5626:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 40712, + "src": "5626:14:18" + }, + "id": 41252, + "nodeType": "InheritanceSpecifier", + "src": "5626:14:18" + } + ], + "canonicalName": "EthBlockBidContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42069, + 40712 + ], + "name": "EthBlockBidContract", + "nameLocation": "5603:19:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42151, + "nodeType": "ContractDefinition", + "src": "11164:717:18", + "nodes": [ + { + "id": 42073, + "nodeType": "VariableDeclaration", + "src": "11225:20:18", + "nodes": [], + "constant": false, + "mutability": "mutable", + "name": "boostRelayUrl", + "nameLocation": "11232:13:18", + "scope": 42151, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 42072, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11225:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "id": 42083, + "nodeType": "FunctionDefinition", + "src": "11249:80:18", + "nodes": [], + "body": { + "id": 42082, + "nodeType": "Block", + "src": "11291:38:18", + "nodes": [], + "statements": [ + { + "expression": { + "id": 42080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 42078, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11295:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 42079, + "name": "boostRelayUrl_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42075, + "src": "11311:14:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "11295:30:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 42081, + "nodeType": "ExpressionStatement", + "src": "11295:30:18" + } + ] + }, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "parameters": { + "id": 42076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42075, + "mutability": "mutable", + "name": "boostRelayUrl_", + "nameLocation": "11275:14:18", + "nodeType": "VariableDeclaration", + "scope": 42083, + "src": "11261:28:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42074, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11261:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11260:30:18" + }, + "returnParameters": { + "id": 42077, + "nodeType": "ParameterList", + "parameters": [], + "src": "11291:0:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "id": 42150, + "nodeType": "FunctionDefinition", + "src": "11332:547:18", + "nodes": [], + "body": { + "id": 42149, + "nodeType": "Block", + "src": "11512:367:18", + "nodes": [], + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 42101, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11524:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11530:14:18", + "memberName": "isConfidential", + "nodeType": "MemberAccess", + "referencedDeclaration": 39423, + "src": "11524:20:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", + "typeString": "function () view returns (bool)" + } + }, + "id": 42103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11524:22:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42100, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "11516:7:18", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11516:31:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42105, + "nodeType": "ExpressionStatement", + "src": "11516:31:18" + }, + { + "assignments": [ + 42110, + 42112 + ], + "declarations": [ + { + "constant": false, + "id": 42110, + "mutability": "mutable", + "name": "blockBid", + "nameLocation": "11570:8:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11553:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 42109, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42108, + "name": "Suave.Bid", + "nameLocations": [ + "11553:5:18", + "11559:3:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "11553:9:18" + }, + "referencedDeclaration": 39328, + "src": "11553:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42112, + "mutability": "mutable", + "name": "builderBid", + "nameLocation": "11593:10:18", + "nodeType": "VariableDeclaration", + "scope": 42149, + "src": "11580:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42111, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11580:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42120, + "initialValue": { + "arguments": [ + { + "id": 42115, + "name": "blockArgs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42086, + "src": "11620:9:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + } + }, + { + "id": 42116, + "name": "blockHeight", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42088, + "src": "11631:11:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "id": 42117, + "name": "bids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42092, + "src": "11644:4:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + } + }, + { + "id": 42118, + "name": "namespace", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42094, + "src": "11650:9:18", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs memory" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[] memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 42113, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11607:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11612:7:18", + "memberName": "doBuild", + "nodeType": "MemberAccess", + "referencedDeclaration": 42008, + "src": "11607:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" + } + }, + "id": 42119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11607:53:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", + "typeString": "tuple(struct Suave.Bid memory,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11552:108:18" + }, + { + "expression": { + "arguments": [ + { + "id": 42124, + "name": "boostRelayUrl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42073, + "src": "11695:13:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "id": 42125, + "name": "builderBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42112, + "src": "11710:10:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42121, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "11664:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11670:24:18", + "memberName": "submitEthBlockBidToRelay", + "nodeType": "MemberAccess", + "referencedDeclaration": 39933, + "src": "11664:30:18", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory,bytes memory) view returns (bytes memory)" + } + }, + "id": 42126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11664:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 42127, + "nodeType": "ExpressionStatement", + "src": "11664:57:18" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 42129, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11740:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42130, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11749:2:18", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "11740:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "expression": { + "id": 42131, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11753:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42132, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11762:19:18", + "memberName": "decryptionCondition", + "nodeType": "MemberAccess", + "referencedDeclaration": 39319, + "src": "11753:28:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + { + "expression": { + "id": 42133, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11783:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 42134, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11792:14:18", + "memberName": "allowedPeekers", + "nodeType": "MemberAccess", + "referencedDeclaration": 39322, + "src": "11783:23:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[] memory" + } + ], + "id": 42128, + "name": "BidEvent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40669, + "src": "11731:8:18", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,uint64,address[] memory)" + } + }, + "id": 42135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11731:76:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42136, + "nodeType": "EmitStatement", + "src": "11726:81:18" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "expression": { + "id": 42140, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -28, + "src": "11831:4:18", + "typeDescriptions": { + "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", + "typeString": "contract EthBlockBidSenderContract" + } + }, + "id": 42141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11836:7:18", + "memberName": "emitBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40711, + "src": "11831:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", + "typeString": "function (struct Suave.Bid memory) external" + } + }, + "id": 42142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11844:8:18", + "memberName": "selector", + "nodeType": "MemberAccess", + "src": "11831:21:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + { + "arguments": [ + { + "id": 42145, + "name": "blockBid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42110, + "src": "11865:8:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + ], + "expression": { + "id": 42143, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "11854:3:18", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "11858:6:18", + "memberName": "encode", + "nodeType": "MemberAccess", + "src": "11854:10:18", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11854:20:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11818:5:18", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": { + "id": 42137, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11818:5:18", + "typeDescriptions": {} + } + }, + "id": 42139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "11824:6:18", + "memberName": "concat", + "nodeType": "MemberAccess", + "src": "11818:12:18", + "typeDescriptions": { + "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 42147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "11818:57:18", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 42099, + "id": 42148, + "nodeType": "Return", + "src": "11811:64:18" + } + ] + }, + "baseFunctions": [ + 41911 + ], + "functionSelector": "4c8820f8", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buildAndEmit", + "nameLocation": "11341:12:18", + "overrides": { + "id": 42096, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "11480:8:18" + }, + "parameters": { + "id": 42095, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42086, + "mutability": "mutable", + "name": "blockArgs", + "nameLocation": "11382:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11354:37:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", + "typeString": "struct Suave.BuildBlockArgs" + }, + "typeName": { + "id": 42085, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42084, + "name": "Suave.BuildBlockArgs", + "nameLocations": [ + "11354:5:18", + "11360:14:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39347, + "src": "11354:20:18" + }, + "referencedDeclaration": 39347, + "src": "11354:20:18", + "typeDescriptions": { + "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", + "typeString": "struct Suave.BuildBlockArgs" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42088, + "mutability": "mutable", + "name": "blockHeight", + "nameLocation": "11400:11:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11393:18:18", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + }, + "typeName": { + "id": 42087, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "11393:6:18", + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42092, + "mutability": "mutable", + "name": "bids", + "nameLocation": "11434:4:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11413:25:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", + "typeString": "Suave.BidId[]" + }, + "typeName": { + "baseType": { + "id": 42090, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 42089, + "name": "Suave.BidId", + "nameLocations": [ + "11413:5:18", + "11419:5:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39311, + "src": "11413:11:18" + }, + "referencedDeclaration": 39311, + "src": "11413:11:18", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + "id": 42091, + "nodeType": "ArrayTypeName", + "src": "11413:13:18", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", + "typeString": "Suave.BidId[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42094, + "mutability": "mutable", + "name": "namespace", + "nameLocation": "11454:9:18", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11440:23:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 42093, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "11440:6:18", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "11353:111:18" + }, + "returnParameters": { + "id": 42099, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42098, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42150, + "src": "11498:12:18", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42097, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "11498:5:18", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "11497:14:18" + }, + "scope": 42151, + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 42070, + "name": "EthBlockBidContract", + "nameLocations": [ + "11202:19:18" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 42069, + "src": "11202:19:18" + }, + "id": 42071, + "nodeType": "InheritanceSpecifier", + "src": "11202:19:18" + } + ], + "canonicalName": "EthBlockBidSenderContract", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42151, + 42069, + 40712 + ], + "name": "EthBlockBidSenderContract", + "nameLocation": "11173:25:18", + "scope": 42152, + "usedErrors": [ + 39309 + ] + } + ] + }, + "id": 18 +} \ No newline at end of file diff --git a/suave/artifacts/example.sol/ExampleEthCallSource.json b/suave/artifacts/example.sol/ExampleEthCallSource.json index fa5d8e5027..5f87b67b84 100644 --- a/suave/artifacts/example.sol/ExampleEthCallSource.json +++ b/suave/artifacts/example.sol/ExampleEthCallSource.json @@ -35,10 +35,774 @@ "type": "function" } ], + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5061033e806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a", + "sourceMap": "59:281:19:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a" + "object": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a", + "sourceMap": "59:281:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95:243;;;;;;:::i;:::-;;:::i;:::-;;;210:32;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;210:32:19;-1:-1:-1;;;210:32:19;;;166:19;;188:55;;202:6;;188:13;:55::i;:::-;166:77;;254:11;280:6;269:28;;;;;;;;;;;;:::i;:::-;253:44;;;;322:8;315:3;:15;307:24;;;;;;156:182;;95:243;;:::o;4014:329:14:-;4097:12;4122;4136:17;1239:42;-1:-1:-1;;;;;4157:18:14;4187:12;4201:6;4176:32;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4176:32:14;;;;;;;;;;4157:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:88;;;;4224:7;4219:75;;1239:42;4278:4;4254:29;;-1:-1:-1;;;4254:29:14;;;;;;;;;:::i;:::-;;;;;;;;4219:75;4322:4;4311:25;;;;;;;;;;;;:::i;:::-;4304:32;4014:329;-1:-1:-1;;;;;4014:329:14:o;14:354:20:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;185:23;;-1:-1:-1;;;;;237:31:20;;227:42;;217:70;;283:1;280;273:12;217:70;306:5;358:2;343:18;;;;330:32;;-1:-1:-1;;;14:354:20:o;373:288::-;442:6;495:2;483:9;474:7;470:23;466:32;463:52;;;511:1;508;501:12;463:52;543:9;537:16;593:18;586:5;582:30;575:5;572:41;562:69;;627:1;624;617:12;562:69;650:5;373:288;-1:-1:-1;;;373:288:20:o;666:250::-;751:1;761:113;775:6;772:1;769:13;761:113;;;851:11;;;845:18;832:11;;;825:39;797:2;790:10;761:113;;;-1:-1:-1;;908:1:20;890:16;;883:27;666:250::o;921:491::-;1125:1;1121;1116:3;1112:11;1108:19;1100:6;1096:32;1085:9;1078:51;1165:2;1160;1149:9;1145:18;1138:30;1059:4;1197:6;1191:13;1240:6;1235:2;1224:9;1220:18;1213:34;1256:79;1328:6;1323:2;1312:9;1308:18;1303:2;1295:6;1291:15;1256:79;:::i;:::-;1396:2;1375:15;-1:-1:-1;;1371:29:20;1356:45;;;;1403:2;1352:54;;921:491;-1:-1:-1;;;921:491:20:o;1417:287::-;1546:3;1584:6;1578:13;1600:66;1659:6;1654:3;1647:4;1639:6;1635:17;1600:66;:::i;:::-;1682:16;;;;;1417:287;-1:-1:-1;;1417:287:20:o;1709:127::-;1770:10;1765:3;1761:20;1758:1;1751:31;1801:4;1798:1;1791:15;1825:4;1822:1;1815:15;1841:896;1920:6;1973:2;1961:9;1952:7;1948:23;1944:32;1941:52;;;1989:1;1986;1979:12;1941:52;2022:9;2016:16;2051:18;2092:2;2084:6;2081:14;2078:34;;;2108:1;2105;2098:12;2078:34;2146:6;2135:9;2131:22;2121:32;;2191:7;2184:4;2180:2;2176:13;2172:27;2162:55;;2213:1;2210;2203:12;2162:55;2242:2;2236:9;2264:2;2260;2257:10;2254:36;;;2270:18;;:::i;:::-;2345:2;2339:9;2313:2;2399:13;;-1:-1:-1;;2395:22:20;;;2419:2;2391:31;2387:40;2375:53;;;2443:18;;;2463:22;;;2440:46;2437:72;;;2489:18;;:::i;:::-;2529:10;2525:2;2518:22;2564:2;2556:6;2549:18;2604:7;2599:2;2594;2590;2586:11;2582:20;2579:33;2576:53;;;2625:1;2622;2615:12;2576:53;2638:68;2703:2;2698;2690:6;2686:15;2681:2;2677;2673:11;2638:68;:::i;:::-;2725:6;1841:896;-1:-1:-1;;;;;;;1841:896:20:o", + "linkReferences": {} }, - "bytecode": { - "object": "0x608060405234801561001057600080fd5b5061033e806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "callTarget(address,uint256)": "48bce064" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"}],\"name\":\"callTarget\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/example.sol\":\"ExampleEthCallSource\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/example.sol\":{\"keccak256\":\"0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42\",\"urls\":[\"bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5\",\"dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "type": "error", + "name": "PeekerReverted" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + }, + { + "internalType": "uint256", + "name": "expected", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function", + "name": "callTarget" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/example.sol": "ExampleEthCallSource" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/example.sol": { + "keccak256": "0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42", + "urls": [ + "bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5", + "dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/example.sol", + "id": 42200, + "exportedSymbols": { + "ExampleEthCallSource": [ + 42190 + ], + "ExampleEthCallTarget": [ + 42199 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:453:19", + "nodes": [ + { + "id": 42153, + "nodeType": "PragmaDirective", + "src": "0:23:19", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 42154, + "nodeType": "ImportDirective", + "src": "25:32:19", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42200, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 42190, + "nodeType": "ContractDefinition", + "src": "59:281:19", + "nodes": [ + { + "id": 42189, + "nodeType": "FunctionDefinition", + "src": "95:243:19", + "nodes": [], + "body": { + "id": 42188, + "nodeType": "Block", + "src": "156:182:19", + "nodes": [], + "statements": [ + { + "assignments": [ + 42162 + ], + "declarations": [ + { + "constant": false, + "id": 42162, + "mutability": "mutable", + "name": "output", + "nameLocation": "179:6:19", + "nodeType": "VariableDeclaration", + "scope": 42188, + "src": "166:19:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42161, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "166:5:19", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42171, + "initialValue": { + "arguments": [ + { + "id": 42165, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42156, + "src": "202:6:19", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "hexValue": "6765742829", + "id": 42168, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "234:7:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", + "typeString": "literal_string \"get()\"" + }, + "value": "get()" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", + "typeString": "literal_string \"get()\"" + } + ], + "expression": { + "id": 42166, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "210:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42167, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "214:19:19", + "memberName": "encodeWithSignature", + "nodeType": "MemberAccess", + "src": "210:23:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory) pure returns (bytes memory)" + } + }, + "id": 42169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "210:32:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42163, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "188:5:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42164, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "194:7:19", + "memberName": "ethcall", + "nodeType": "MemberAccess", + "referencedDeclaration": 39609, + "src": "188:13:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bytes memory) view returns (bytes memory)" + } + }, + "id": 42170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "188:55:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "166:77:19" + }, + { + "assignments": [ + 42173 + ], + "declarations": [ + { + "constant": false, + "id": 42173, + "mutability": "mutable", + "name": "num", + "nameLocation": "262:3:19", + "nodeType": "VariableDeclaration", + "scope": 42188, + "src": "254:11:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42172, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "254:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 42181, + "initialValue": { + "arguments": [ + { + "id": 42176, + "name": "output", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42162, + "src": "280:6:19", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 42178, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "289:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 42177, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "289:6:19", + "typeDescriptions": {} + } + } + ], + "id": 42179, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "288:8:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 42174, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "269:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "273:6:19", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "269:10:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 42180, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "269:28:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "253:44:19" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 42185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 42183, + "name": "num", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42173, + "src": "315:3:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 42184, + "name": "expected", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42158, + "src": "322:8:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "315:15:19", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42182, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "307:7:19", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "307:24:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42187, + "nodeType": "ExpressionStatement", + "src": "307:24:19" + } + ] + }, + "functionSelector": "48bce064", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "callTarget", + "nameLocation": "104:10:19", + "parameters": { + "id": 42159, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42156, + "mutability": "mutable", + "name": "target", + "nameLocation": "123:6:19", + "nodeType": "VariableDeclaration", + "scope": 42189, + "src": "115:14:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 42155, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "115:7:19", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42158, + "mutability": "mutable", + "name": "expected", + "nameLocation": "139:8:19", + "nodeType": "VariableDeclaration", + "scope": 42189, + "src": "131:16:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42157, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "131:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "114:34:19" + }, + "returnParameters": { + "id": 42160, + "nodeType": "ParameterList", + "parameters": [], + "src": "156:0:19" + }, + "scope": 42190, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "ExampleEthCallSource", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42190 + ], + "name": "ExampleEthCallSource", + "nameLocation": "68:20:19", + "scope": 42200, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42199, + "nodeType": "ContractDefinition", + "src": "342:110:19", + "nodes": [ + { + "id": 42198, + "nodeType": "FunctionDefinition", + "src": "378:72:19", + "nodes": [], + "body": { + "id": 42197, + "nodeType": "Block", + "src": "423:27:19", + "nodes": [], + "statements": [ + { + "expression": { + "hexValue": "313031", + "id": 42195, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "440:3:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_101_by_1", + "typeString": "int_const 101" + }, + "value": "101" + }, + "functionReturnParameters": 42194, + "id": 42196, + "nodeType": "Return", + "src": "433:10:19" + } + ] + }, + "functionSelector": "6d4ce63c", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "get", + "nameLocation": "387:3:19", + "parameters": { + "id": 42191, + "nodeType": "ParameterList", + "parameters": [], + "src": "390:2:19" + }, + "returnParameters": { + "id": 42194, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42193, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42198, + "src": "414:7:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42192, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "414:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "413:9:19" + }, + "scope": 42199, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "ExampleEthCallTarget", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42199 + ], + "name": "ExampleEthCallTarget", + "nameLocation": "351:20:19", + "scope": 42200, + "usedErrors": [] + } + ] + }, + "id": 19 +} \ No newline at end of file diff --git a/suave/artifacts/example.sol/ExampleEthCallTarget.json b/suave/artifacts/example.sol/ExampleEthCallTarget.json index 3a51d05157..a853d6486c 100644 --- a/suave/artifacts/example.sol/ExampleEthCallTarget.json +++ b/suave/artifacts/example.sol/ExampleEthCallTarget.json @@ -14,10 +14,754 @@ "type": "function" } ], + "bytecode": { + "object": "0x6080604052348015600f57600080fd5b50604e80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a", + "sourceMap": "342:110:19:-:0;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a" + "object": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a", + "sourceMap": "342:110:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;378:72;440:3;378:72;;160:25:20;;;148:2;133:18;378:72:19;;;;;;", + "linkReferences": {} }, - "bytecode": { - "object": "0x6080604052348015600f57600080fd5b50604e80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "get()": "6d4ce63c" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"get\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/example.sol\":\"ExampleEthCallTarget\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/example.sol\":{\"keccak256\":\"0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42\",\"urls\":[\"bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5\",\"dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "get", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ] + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/standard_peekers/example.sol": "ExampleEthCallTarget" + }, + "libraries": {} + }, + "sources": { + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/standard_peekers/example.sol": { + "keccak256": "0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42", + "urls": [ + "bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5", + "dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb" + ], + "license": null + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/standard_peekers/example.sol", + "id": 42200, + "exportedSymbols": { + "ExampleEthCallSource": [ + 42190 + ], + "ExampleEthCallTarget": [ + 42199 + ], + "Suave": [ + 39934 + ] + }, + "nodeType": "SourceUnit", + "src": "0:453:19", + "nodes": [ + { + "id": 42153, + "nodeType": "PragmaDirective", + "src": "0:23:19", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".8" + ] + }, + { + "id": 42154, + "nodeType": "ImportDirective", + "src": "25:32:19", + "nodes": [], + "absolutePath": "sol/libraries/Suave.sol", + "file": "../libraries/Suave.sol", + "nameLocation": "-1:-1:-1", + "scope": 42200, + "sourceUnit": 39935, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 42190, + "nodeType": "ContractDefinition", + "src": "59:281:19", + "nodes": [ + { + "id": 42189, + "nodeType": "FunctionDefinition", + "src": "95:243:19", + "nodes": [], + "body": { + "id": 42188, + "nodeType": "Block", + "src": "156:182:19", + "nodes": [], + "statements": [ + { + "assignments": [ + 42162 + ], + "declarations": [ + { + "constant": false, + "id": 42162, + "mutability": "mutable", + "name": "output", + "nameLocation": "179:6:19", + "nodeType": "VariableDeclaration", + "scope": 42188, + "src": "166:19:19", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 42161, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "166:5:19", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 42171, + "initialValue": { + "arguments": [ + { + "id": 42165, + "name": "target", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42156, + "src": "202:6:19", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "hexValue": "6765742829", + "id": 42168, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "234:7:19", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", + "typeString": "literal_string \"get()\"" + }, + "value": "get()" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", + "typeString": "literal_string \"get()\"" + } + ], + "expression": { + "id": 42166, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "210:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42167, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "214:19:19", + "memberName": "encodeWithSignature", + "nodeType": "MemberAccess", + "src": "210:23:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (string memory) pure returns (bytes memory)" + } + }, + "id": 42169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "210:32:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 42163, + "name": "Suave", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39934, + "src": "188:5:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", + "typeString": "type(library Suave)" + } + }, + "id": 42164, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "194:7:19", + "memberName": "ethcall", + "nodeType": "MemberAccess", + "referencedDeclaration": 39609, + "src": "188:13:19", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (address,bytes memory) view returns (bytes memory)" + } + }, + "id": 42170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "188:55:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "166:77:19" + }, + { + "assignments": [ + 42173 + ], + "declarations": [ + { + "constant": false, + "id": 42173, + "mutability": "mutable", + "name": "num", + "nameLocation": "262:3:19", + "nodeType": "VariableDeclaration", + "scope": 42188, + "src": "254:11:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42172, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "254:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 42181, + "initialValue": { + "arguments": [ + { + "id": 42176, + "name": "output", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42162, + "src": "280:6:19", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + { + "components": [ + { + "id": 42178, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "289:6:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + }, + "typeName": { + "id": 42177, + "name": "uint64", + "nodeType": "ElementaryTypeName", + "src": "289:6:19", + "typeDescriptions": {} + } + } + ], + "id": 42179, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "288:8:19", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + }, + { + "typeIdentifier": "t_type$_t_uint64_$", + "typeString": "type(uint64)" + } + ], + "expression": { + "id": 42174, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "269:3:19", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 42175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "273:6:19", + "memberName": "decode", + "nodeType": "MemberAccess", + "src": "269:10:19", + "typeDescriptions": { + "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 42180, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "269:28:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint64", + "typeString": "uint64" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "253:44:19" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 42185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 42183, + "name": "num", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42173, + "src": "315:3:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 42184, + "name": "expected", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 42158, + "src": "322:8:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "315:15:19", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 42182, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + -18, + -18 + ], + "referencedDeclaration": -18, + "src": "307:7:19", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 42186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "307:24:19", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42187, + "nodeType": "ExpressionStatement", + "src": "307:24:19" + } + ] + }, + "functionSelector": "48bce064", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "callTarget", + "nameLocation": "104:10:19", + "parameters": { + "id": 42159, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42156, + "mutability": "mutable", + "name": "target", + "nameLocation": "123:6:19", + "nodeType": "VariableDeclaration", + "scope": 42189, + "src": "115:14:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 42155, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "115:7:19", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 42158, + "mutability": "mutable", + "name": "expected", + "nameLocation": "139:8:19", + "nodeType": "VariableDeclaration", + "scope": 42189, + "src": "131:16:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42157, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "131:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "114:34:19" + }, + "returnParameters": { + "id": 42160, + "nodeType": "ParameterList", + "parameters": [], + "src": "156:0:19" + }, + "scope": 42190, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "ExampleEthCallSource", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42190 + ], + "name": "ExampleEthCallSource", + "nameLocation": "68:20:19", + "scope": 42200, + "usedErrors": [ + 39309 + ] + }, + { + "id": 42199, + "nodeType": "ContractDefinition", + "src": "342:110:19", + "nodes": [ + { + "id": 42198, + "nodeType": "FunctionDefinition", + "src": "378:72:19", + "nodes": [], + "body": { + "id": 42197, + "nodeType": "Block", + "src": "423:27:19", + "nodes": [], + "statements": [ + { + "expression": { + "hexValue": "313031", + "id": 42195, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "440:3:19", + "typeDescriptions": { + "typeIdentifier": "t_rational_101_by_1", + "typeString": "int_const 101" + }, + "value": "101" + }, + "functionReturnParameters": 42194, + "id": 42196, + "nodeType": "Return", + "src": "433:10:19" + } + ] + }, + "functionSelector": "6d4ce63c", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "get", + "nameLocation": "387:3:19", + "parameters": { + "id": 42191, + "nodeType": "ParameterList", + "parameters": [], + "src": "390:2:19" + }, + "returnParameters": { + "id": 42194, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42193, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 42198, + "src": "414:7:19", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42192, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "414:7:19", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "413:9:19" + }, + "scope": 42199, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [], + "canonicalName": "ExampleEthCallTarget", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 42199 + ], + "name": "ExampleEthCallTarget", + "nameLocation": "351:20:19", + "scope": 42200, + "usedErrors": [] + } + ] + }, + "id": 19 +} \ No newline at end of file diff --git a/suave/artifacts/forge_example.sol/Example.json b/suave/artifacts/forge_example.sol/Example.json index 30d9cfb171..0b0d0da815 100644 --- a/suave/artifacts/forge_example.sol/Example.json +++ b/suave/artifacts/forge_example.sol/Example.json @@ -40,10 +40,1289 @@ "type": "function" } ], + "bytecode": { + "object": "0x600b805462ff00ff19166201000117905560c060405273c8df3686b4afb2bb53e60eae97ef043fe03fb8296080908152600060a05261004290600c906002610055565b5034801561004f57600080fd5b506100cf565b8280548282559060005260206000209081019282156100aa579160200282015b828111156100aa57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190610075565b506100b69291506100ba565b5090565b5b808211156100b657600081556001016100bb565b610f13806100de6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a", + "sourceMap": "3126:44:2:-:0;;;-1:-1:-1;;800:28:1;;;;;161:119:16;128:639;161:119;193:42;128:639;161:119;;;-1:-1:-1;161:119:16;;;;;;800:28:1;161:119:16;:::i;:::-;;128:639;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;128:639:16;-1:-1:-1;;;;;128:639:16;;;;;;;;;;;-1:-1:-1;128:639:16;;;;;;;-1:-1:-1;128:639:16;;;-1:-1:-1;128:639:16;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;", + "linkReferences": {} + }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a" + "object": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a", + "sourceMap": "128:639:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;161:119;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;363:32:17;;;345:51;;333:2;318:18;161:119:16;;;;;;;;287:478;;;:::i;:::-;;800:28:1;;;;;;;;;;;;;;;572:14:17;;565:22;547:41;;535:2;520:18;800:28:1;407:187:17;161:119:16;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;161:119:16;;-1:-1:-1;161:119:16;:::o;287:478::-;319:20;342:71;360:1;363:11;342:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;342:71:16;;;;;;;;;;;;;;;;;;;;;376:11;342:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;342:71:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;342:71:16;;;:17;:71::i;:::-;319:94;;424:36;463:48;484:1;463:48;;;;;;;;;;;;;-1:-1:-1;;;463:48:16;;;:20;:48::i;:::-;424:87;;521:37;533:17;:24;521:11;:37::i;:::-;569:74;603:3;:6;;;569:74;;;;;;;;;;;;;-1:-1:-1;;;569:74:16;;;616:26;;;;;;-1:-1:-1;;;801:21:17;;847:1;838:11;;599:256;616:26:16;;;;;;;;;;;;;569:33;:74::i;:::-;653:19;675:49;712:3;:6;;;675:49;;;;;;;;;;;;;-1:-1:-1;;;675:49:16;;;:36;:49::i;:::-;653:71;;734:24;751:6;734:16;:24::i;:::-;309:456;;;287:478::o;3199:455:15:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:17:15;3440:160;;;;;;;;;;;;;;;;;;3530:19;3551:14;3567:13;3582:7;3519:71;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3440:7;:160::i;:::-;3420:180;;3629:4;3618:29;;;;;;;;;;;;:::i;:::-;3611:36;3199:455;-1:-1:-1;;;;;;3199:455:15:o;2704:268::-;2784:18;2814:17;2834:82;;;;;;;;;;;;;;;;;;2899:4;2905:9;2888:27;;;;;;;;;:::i;2834:82::-;2814:102;;2945:4;2934:31;;;;;;;;;;;;:::i;:::-;2927:38;;;2704:268;;;;;:::o;5514:110:10:-;5560:57;5613:2;5576:40;;;;;;8374:25:17;;8362:2;8347:18;;8228:177;5576:40:10;;;;-1:-1:-1;;5576:40:10;;;;;;;;;;;;;;-1:-1:-1;;;;;5576:40:10;-1:-1:-1;;;5576:40:10;;;5560:15;:57::i;:::-;5514:110;:::o;1978:225:15:-;2092:17;2112:84;;;;;;;;;;;;;;;;;;2177:5;2184:3;2189:5;2166:29;;;;;;;;;;:::i;2112:84::-;-1:-1:-1;;;;;1978:225:15:o;1726:246::-;1822:12;1846:17;1866:77;;;;;;;;;;;;;;;;;;1931:5;1938:3;1920:22;;;;;;;;;:::i;1283:124:10:-;1342:58;1396:2;1358:41;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1358:41:10;;;;;;;;;;;;;;-1:-1:-1;;;;;1358:41:10;-1:-1:-1;;;1358:41:10;;;1342:15;:58::i;294:374:15:-;373:12;397:21;421:12;428:4;421:6;:12::i;:::-;469:15;;;482:1;469:15;;;;;;;;;397:36;;-1:-1:-1;444:22:15;;469:15;;;;;;;;;;;;;;;;;;;;;444:40;;494:19;;;;;;;;;;;;;-1:-1:-1;;;494:19:15;;;:6;501:1;494:9;;;;;;;;:::i;:::-;;;;;;:19;;;;523;;;;;;;;;;;;;-1:-1:-1;;;523:19:15;;;:6;530:1;523:9;;;;;;;;:::i;:::-;;;;;;:19;;;;564:4;552:6;559:1;552:9;;;;;;;;:::i;:::-;;;;;;:16;;;;590:7;578:6;585:1;578:9;;;;;;;;:::i;:::-;;;;;;;;;;:19;627:14;;-1:-1:-1;;;627:14:15;;608:16;;244:42;;627:6;;:14;;634:6;;627:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;627:14:15;;;;;;;;;;;;:::i;181:376:10:-;275:14;;131:42;448:2;435:16;;251:21;;275:14;435:16;131:42;484:5;473:68;464:77;;401:150;;181:376;:::o;674:463:15:-;732:13;757:22;792:6;:13;808:1;792:17;;;;:::i;:::-;782:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;782:28:15;-1:-1:-1;821:39:15;;;;;;;;;;;;-1:-1:-1;;;821:39:15;;;;757:53;;-1:-1:-1;821:18:15;871:201;895:6;:13;891:1;:17;871:201;;;948:5;973;:12;960:6;967:1;960:9;;;;;;;;:::i;:::-;;;;;954:31;;;960:9;;954:31;:::i;:::-;948:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;948:38:15;929:9;939:5;:1;943;939:5;:::i;:::-;929:16;;;;;;;;:::i;:::-;;;;:57;-1:-1:-1;;;;;929:57:15;;;;;;;;;1023:5;1048;:12;1035:6;1042:1;1035:9;;;;;;;;:::i;:::-;;;;;1029:31;;;1035:9;;1029:31;:::i;:::-;1023:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;1023:38:15;1000:9;1010:5;:1;1014;1010:5;:::i;:::-;:9;;1018:1;1010:9;:::i;:::-;1000:20;;;;;;;;:::i;:::-;;;;:61;-1:-1:-1;;;;;1000:61:15;;;;;;;;-1:-1:-1;910:3:15;;;;:::i;:::-;;;;871:201;;;;1119:9;1096:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;1082:48;;;;674:463;;;:::o;14:180:17:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:17;;14:180;-1:-1:-1;14:180:17:o;860:461::-;913:3;951:5;945:12;978:6;973:3;966:19;1004:4;1033:2;1028:3;1024:12;1017:19;;1070:2;1063:5;1059:14;1091:1;1101:195;1115:6;1112:1;1109:13;1101:195;;;1180:13;;-1:-1:-1;;;;;1176:39:17;1164:52;;1236:12;;;;1271:15;;;;1212:1;1130:9;1101:195;;;-1:-1:-1;1312:3:17;;860:461;-1:-1:-1;;;;;860:461:17:o;1326:250::-;1411:1;1421:113;1435:6;1432:1;1429:13;1421:113;;;1511:11;;;1505:18;1492:11;;;1485:39;1457:2;1450:10;1421:113;;;-1:-1:-1;;1568:1:17;1550:16;;1543:27;1326:250::o;1581:271::-;1623:3;1661:5;1655:12;1688:6;1683:3;1676:19;1704:76;1773:6;1766:4;1761:3;1757:14;1750:4;1743:5;1739:16;1704:76;:::i;:::-;1834:2;1813:15;-1:-1:-1;;1809:29:17;1800:39;;;;1841:4;1796:50;;1581:271;-1:-1:-1;;1581:271:17:o;1857:724::-;2200:18;2192:6;2188:31;2177:9;2170:50;2256:3;2251:2;2240:9;2236:18;2229:31;2151:4;2283:57;2335:3;2324:9;2320:19;2312:6;2283:57;:::i;:::-;2388:9;2380:6;2376:22;2371:2;2360:9;2356:18;2349:50;2422:44;2459:6;2451;2422:44;:::i;:::-;2408:58;;2514:9;2506:6;2502:22;2497:2;2486:9;2482:18;2475:50;2542:33;2568:6;2560;2542:33;:::i;:::-;2534:41;1857:724;-1:-1:-1;;;;;;;1857:724:17:o;2586:127::-;2647:10;2642:3;2638:20;2635:1;2628:31;2678:4;2675:1;2668:15;2702:4;2699:1;2692:15;2718:253;2790:2;2784:9;2832:4;2820:17;;2867:18;2852:34;;2888:22;;;2849:62;2846:88;;;2914:18;;:::i;:::-;2950:2;2943:22;2718:253;:::o;2976:275::-;3047:2;3041:9;3112:2;3093:13;;-1:-1:-1;;3089:27:17;3077:40;;3147:18;3132:34;;3168:22;;;3129:62;3126:88;;;3194:18;;:::i;:::-;3230:2;3223:22;2976:275;;-1:-1:-1;2976:275:17:o;3256:216::-;3354:13;;-1:-1:-1;;3396:51:17;;3386:62;;3376:90;;3462:1;3459;3452:12;3376:90;3256:216;;;:::o;3477:175::-;3555:13;;3608:18;3597:30;;3587:41;;3577:69;;3642:1;3639;3632:12;3657:183;3717:4;3750:18;3742:6;3739:30;3736:56;;;3772:18;;:::i;:::-;-1:-1:-1;3817:1:17;3813:14;3829:4;3809:25;;3657:183::o;3845:843::-;3910:5;3963:3;3956:4;3948:6;3944:17;3940:27;3930:55;;3981:1;3978;3971:12;3930:55;4010:6;4004:13;4036:4;4060:60;4076:43;4116:2;4076:43;:::i;:::-;4060:60;:::i;:::-;4154:15;;;4240:1;4236:10;;;;4224:23;;4220:32;;;4185:12;;;;4264:15;;;4261:35;;;4292:1;4289;4282:12;4261:35;4328:2;4320:6;4316:15;4340:319;4356:6;4351:3;4348:15;4340:319;;;4423:10;;-1:-1:-1;;;;;4466:31:17;;4456:42;;4446:140;;4540:1;4569:2;4565;4558:14;4446:140;4599:18;;4637:12;;;;4373;;4340:319;;;-1:-1:-1;4677:5:17;3845:843;-1:-1:-1;;;;;;3845:843:17:o;4693:391::-;4769:5;4803:18;4795:6;4792:30;4789:56;;;4825:18;;:::i;:::-;4863:57;4908:2;4887:15;;-1:-1:-1;;4883:29:17;4914:4;4879:40;4863:57;:::i;:::-;4854:66;;4943:6;4936:5;4929:21;4983:3;4974:6;4969:3;4965:16;4962:25;4959:45;;;5000:1;4997;4990:12;4959:45;5013:65;5071:6;5064:4;5057:5;5053:16;5048:3;5013:65;:::i;:::-;4693:391;;;;;:::o;5089:237::-;5143:5;5196:3;5189:4;5181:6;5177:17;5173:27;5163:55;;5214:1;5211;5204:12;5163:55;5236:84;5316:3;5307:6;5301:13;5294:4;5286:6;5282:17;5236:84;:::i;5331:1060::-;5392:5;5440:4;5428:9;5423:3;5419:19;5415:30;5412:50;;;5458:1;5455;5448:12;5412:50;5480:22;;:::i;:::-;5471:31;;5525:59;5574:9;5525:59;:::i;:::-;5518:5;5511:74;5617:68;5681:2;5670:9;5666:18;5617:68;:::i;:::-;5612:2;5605:5;5601:14;5594:92;5718:48;5762:2;5751:9;5747:18;5718:48;:::i;:::-;5713:2;5706:5;5702:14;5695:72;5811:2;5800:9;5796:18;5790:25;5834:18;5875:2;5867:6;5864:14;5861:34;;;5891:1;5888;5881:12;5861:34;5927:68;5991:3;5982:6;5971:9;5967:22;5927:68;:::i;:::-;5922:2;5915:5;5911:14;5904:92;6042:3;6031:9;6027:19;6021:26;6005:42;;6072:2;6062:8;6059:16;6056:36;;;6088:1;6085;6078:12;6056:36;6125:70;6191:3;6180:8;6169:9;6165:24;6125:70;:::i;:::-;6119:3;6112:5;6108:15;6101:95;6242:3;6231:9;6227:19;6221:26;6205:42;;6272:2;6262:8;6259:16;6256:36;;;6288:1;6285;6278:12;6256:36;;6325:59;6380:3;6369:8;6358:9;6354:24;6325:59;:::i;:::-;6319:3;6312:5;6308:15;6301:84;;5331:1060;;;;:::o;6396:353::-;6488:6;6541:2;6529:9;6520:7;6516:23;6512:32;6509:52;;;6557:1;6554;6547:12;6509:52;6590:9;6584:16;6623:18;6615:6;6612:30;6609:50;;;6655:1;6652;6645:12;6609:50;6678:65;6735:7;6726:6;6715:9;6711:22;6678:65;:::i;6754:314::-;6941:18;6933:6;6929:31;6918:9;6911:50;6997:2;6992;6981:9;6977:18;6970:30;6892:4;7017:45;7058:2;7047:9;7043:18;7035:6;7017:45;:::i;:::-;7009:53;6754:314;-1:-1:-1;;;;6754:314:17:o;7073:1150::-;7190:6;7221:2;7264;7252:9;7243:7;7239:23;7235:32;7232:52;;;7280:1;7277;7270:12;7232:52;7313:9;7307:16;7342:18;7383:2;7375:6;7372:14;7369:34;;;7399:1;7396;7389:12;7369:34;7437:6;7426:9;7422:22;7412:32;;7482:7;7475:4;7471:2;7467:13;7463:27;7453:55;;7504:1;7501;7494:12;7453:55;7533:2;7527:9;7556:60;7572:43;7612:2;7572:43;:::i;7556:60::-;7650:15;;;7732:1;7728:10;;;;7720:19;;7716:28;;;7681:12;;;;7756:19;;;7753:39;;;7788:1;7785;7778:12;7753:39;7820:2;7816;7812:11;7832:361;7848:6;7843:3;7840:15;7832:361;;;7927:3;7921:10;7963:2;7950:11;7947:19;7944:109;;;8007:1;8036:2;8032;8025:14;7944:109;8078:72;8142:7;8137:2;8123:11;8119:2;8115:20;8111:29;8078:72;:::i;:::-;8066:85;;-1:-1:-1;8171:12:17;;;;7865;;7832:361;;;-1:-1:-1;8212:5:17;7073:1150;-1:-1:-1;;;;;;;;7073:1150:17:o;8410:525::-;-1:-1:-1;;;;;8672:39:17;8664:6;8660:52;8649:9;8642:71;8749:2;8744;8733:9;8729:18;8722:30;8623:4;8775:45;8816:2;8805:9;8801:18;8793:6;8775:45;:::i;:::-;8868:9;8860:6;8856:22;8851:2;8840:9;8836:18;8829:50;8896:33;8922:6;8914;8896:33;:::i;8940:364::-;-1:-1:-1;;;;;9156:39:17;9148:6;9144:52;9133:9;9126:71;9233:2;9228;9217:9;9213:18;9206:30;9107:4;9253:45;9294:2;9283:9;9279:18;9271:6;9253:45;:::i;9309:218::-;9456:2;9445:9;9438:21;9419:4;9476:45;9517:2;9506:9;9502:18;9494:6;9476:45;:::i;9532:127::-;9593:10;9588:3;9584:20;9581:1;9574:31;9624:4;9621:1;9614:15;9648:4;9645:1;9638:15;9664:803;9826:4;9855:2;9895;9884:9;9880:18;9925:2;9914:9;9907:21;9948:6;9983;9977:13;10014:6;10006;9999:22;10052:2;10041:9;10037:18;10030:25;;10114:2;10104:6;10101:1;10097:14;10086:9;10082:30;10078:39;10064:53;;10152:2;10144:6;10140:15;10173:1;10183:255;10197:6;10194:1;10191:13;10183:255;;;10290:2;10286:7;10274:9;10266:6;10262:22;10258:36;10253:3;10246:49;10318:40;10351:6;10342;10336:13;10318:40;:::i;:::-;10308:50;-1:-1:-1;10416:12:17;;;;10381:15;;;;10219:1;10212:9;10183:255;;;-1:-1:-1;10455:6:17;;9664:803;-1:-1:-1;;;;;;;9664:803:17:o;10472:458::-;10551:6;10604:2;10592:9;10583:7;10579:23;10575:32;10572:52;;;10620:1;10617;10610:12;10572:52;10653:9;10647:16;10686:18;10678:6;10675:30;10672:50;;;10718:1;10715;10708:12;10672:50;10741:22;;10794:4;10786:13;;10782:27;-1:-1:-1;10772:55:17;;10823:1;10820;10813:12;10772:55;10846:78;10916:7;10911:2;10905:9;10900:2;10896;10892:11;10846:78;:::i;10935:127::-;10996:10;10991:3;10987:20;10984:1;10977:31;11027:4;11024:1;11017:15;11051:4;11048:1;11041:15;11067:168;11140:9;;;11171;;11188:15;;;11182:22;;11168:37;11158:71;;11209:18;;:::i;11240:127::-;11301:10;11296:3;11292:20;11289:1;11282:31;11332:4;11329:1;11322:15;11356:4;11353:1;11346:15;11372:120;11412:1;11438;11428:35;;11443:18;;:::i;:::-;-1:-1:-1;11477:9:17;;11372:120::o;11497:112::-;11529:1;11555;11545:35;;11560:18;;:::i;:::-;-1:-1:-1;11594:9:17;;11497:112::o;11614:125::-;11679:9;;;11700:10;;;11697:36;;;11713:18;;:::i;11744:135::-;11783:3;11804:17;;;11801:43;;11824:18;;:::i;:::-;-1:-1:-1;11871:1:17;11860:13;;11744:135::o;11884:430::-;-1:-1:-1;;;12139:3:17;12132:17;12114:3;12178:6;12172:13;12194:74;12261:6;12257:1;12252:3;12248:11;12241:4;12233:6;12229:17;12194:74;:::i;:::-;12288:16;;;;12306:1;12284:24;;11884:430;-1:-1:-1;;11884:430:17:o", + "linkReferences": {} }, - "bytecode": { - "object": "0x600b805462ff00ff19166201000117905560a06040526000608090815261002a90600c90600161003d565b5034801561003757600080fd5b506100b7565b828054828255906000526020600020908101928215610092579160200282015b8281111561009257825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061005d565b5061009e9291506100a2565b5090565b5b8082111561009e57600081556001016100a3565b610f13806100c66000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a" - } -} + "methodIdentifiers": { + "IS_SCRIPT()": "f8ccbf47", + "addressList(uint256)": "b810fb43", + "run()": "c0406226" + }, + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addressList\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/scripts/forge_example.sol\":\"Example\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Base.sol\":{\"keccak256\":\"0x4ff1a785311017d1eedb1b4737956fa383067ad34eb439abfec1d989754dde1c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f553622969b9fdb930246704a4c10dfaee6b1a4468c142fa7eb9dc292a438224\",\"dweb:/ipfs/QmcxqHnqdQsMVtgsfH9VNLmZ3g7GhgNagfq7yvNCDcCHFK\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x2315be74cc2826f9da401bea3da46a10ad6a6efdf73176d79160b453286d0ed2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af0d4dc826911d6cb4d6272ed5cbdb6950e1476141cca328e178b808d848789c\",\"dweb:/ipfs/QmV2ytjUEkV84VtdMs1nZqQTBoVE987cHboQMpiha5yo3e\"]},\"lib/forge-std/src/StdChains.sol\":{\"keccak256\":\"0xdbb593a36db1fde25c398f38312cfedc5b39c4bad1c65c2f58b7515c4dd76be8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://afc49471af92a1fd12686e2757ad0cbeb5bfe3cc95b8b6b5a5a91af83a8bcfd1\",\"dweb:/ipfs/QmcAQ5WesfLBUChNGuRMGQsDYf44q35Ln7Xb3jmyQgdESU\"]},\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xa0bac08b3d12d561fadf74c83c69f3ee54fe40e0c7766611766f6db70c202373\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://292f1e61a3a60f9f4075d0b567f5123d159b0541b7787e4523597ab57331eb08\",\"dweb:/ipfs/QmatxDNPiYVtLap2nn4Hp3AxzkSzkdAQDirbc5QKCDfde5\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x8f914dbd016bd0e318fe2b8bd556fbc8256c7cddc24e3e4fcb9f3c1c1935592d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://19e704df493dde38323303b07d18cadfeb4dcadf1ddc2301add4aea9474fbb5e\",\"dweb:/ipfs/QmZasuGiLK8LHwWtvpqEBxUR6QFY6GdzLMTJ9q7CMf8PNZ\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0x4298f3f4cedaedb07029820b1daad2c03af45379559392201f7bf3ec71105811\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e062f36d8d1ae3c383ef8975757926eaa9c4de3a92b5f1fe2d12748bcd8db32\",\"dweb:/ipfs/QmcWkv3ia5Ew4DZNcudMNSTNXZ3W2QiXTZunRd44e9BT8z\"]},\"lib/forge-std/src/StdStyle.sol\":{\"keccak256\":\"0x43e2a8a9b9c2574dabe74f11adf6f782df218f463540e3b5b563609fe108597d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://51363ca97404cf4128e1141428949768c31929e75e014b02c85e887fbbb4f1b8\",\"dweb:/ipfs/QmVhtbQc2fU4rRmbcfBtz34mAgG4BAZBsbna1Ca4SkoPsK\"]},\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x8758c42ba9d9e46868b796e2330ac239006ede07bd438a4b36dd6f2c47d27dc1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11f5752e0187b1e3631b875efdbe05d45929d05f1c1717105a9115d0a6628140\",\"dweb:/ipfs/QmUKkx9jfsUvjyYBw45RvrW1hTFXDXi2Jv5tbHP86mnzpi\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x039a59e16791fb3595615f1ad19d614cdb1f1e567ed3bfc1a35d97177387be68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da3d0bfe99104664a3a053665578ad1277ea79e0704519d3b7ff98b3b7054155\",\"dweb:/ipfs/QmesLHpsvzvC6DoTFLdgNibRU5sfeNggYtyaRfA64t2PsD\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x954646445d1014c3cd85c7918f5e7adeeca5ee44b68c00bafa237e597a4e35ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://516fa3be52da4763147175bfba4be0aa011fadbb0c1afb01f97265bd4cee7973\",\"dweb:/ipfs/QmdixAyMJefx7qePChgdxcBH5MxhmN7vsqPuPLx3CgrVmF\"]},\"lib/forge-std/src/interfaces/IMulticall3.sol\":{\"keccak256\":\"0x7aac1389150499a922d1f9ef5749c908cef127cb2075b92fa17e9cb611263d0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d95ebb7c7c463e08ebc12dab639945752fb2480acfc6e86da32f72732a7fd0c0\",\"dweb:/ipfs/QmNXK8P8oPWwajsQHvAHw3JPyQidPLCGQN3hWu1Lk6PBL2\"]},\"lib/forge-std/src/safeconsole.sol\":{\"keccak256\":\"0xbaf41fdc6c54297e7cd8250e48b0f20eaac918e342a1028cef3f9a52ac086381\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a500ad81dea226f9910e6b50f99a9ff930105e393a692cbfb2185e4cdb4424ae\",\"dweb:/ipfs/QmVbUQpXNMmMWRiy4FvBNczzq46BMGfUoBikvSHNiCxVTq\"]},\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveForge.sol\":{\"keccak256\":\"0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067\",\"dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd\"]},\"sol/scripts/forge_example.sol\":{\"keccak256\":\"0x7896dacc8632eb8ae06cf09c23115ef6e83b4bede44525fa82bd8268e1a7bded\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d5d7b7971c2f34bc8eef488d9c89fbcb86c145e112841285f924d2b78c033014\",\"dweb:/ipfs/QmfWZeGf2XVa2aHRt46NNhsPNdxeDWuTmPrcUQSJPdQ1cM\"]}},\"version\":1}", + "metadata": { + "compiler": { + "version": "0.8.19+commit.7dd6d404" + }, + "language": "Solidity", + "output": { + "abi": [ + { + "inputs": [], + "stateMutability": "view", + "type": "function", + "name": "IS_SCRIPT", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ] + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "name": "addressList", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ] + }, + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "function", + "name": "run" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + }, + "settings": { + "remappings": [ + ":ds-test/=lib/forge-std/lib/ds-test/src/", + ":forge-std/=lib/forge-std/src/" + ], + "optimizer": { + "enabled": true, + "runs": 200 + }, + "metadata": { + "bytecodeHash": "none" + }, + "compilationTarget": { + "sol/scripts/forge_example.sol": "Example" + }, + "libraries": {} + }, + "sources": { + "lib/forge-std/src/Base.sol": { + "keccak256": "0x4ff1a785311017d1eedb1b4737956fa383067ad34eb439abfec1d989754dde1c", + "urls": [ + "bzz-raw://f553622969b9fdb930246704a4c10dfaee6b1a4468c142fa7eb9dc292a438224", + "dweb:/ipfs/QmcxqHnqdQsMVtgsfH9VNLmZ3g7GhgNagfq7yvNCDcCHFK" + ], + "license": "MIT" + }, + "lib/forge-std/src/Script.sol": { + "keccak256": "0x2315be74cc2826f9da401bea3da46a10ad6a6efdf73176d79160b453286d0ed2", + "urls": [ + "bzz-raw://af0d4dc826911d6cb4d6272ed5cbdb6950e1476141cca328e178b808d848789c", + "dweb:/ipfs/QmV2ytjUEkV84VtdMs1nZqQTBoVE987cHboQMpiha5yo3e" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdChains.sol": { + "keccak256": "0xdbb593a36db1fde25c398f38312cfedc5b39c4bad1c65c2f58b7515c4dd76be8", + "urls": [ + "bzz-raw://afc49471af92a1fd12686e2757ad0cbeb5bfe3cc95b8b6b5a5a91af83a8bcfd1", + "dweb:/ipfs/QmcAQ5WesfLBUChNGuRMGQsDYf44q35Ln7Xb3jmyQgdESU" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdCheats.sol": { + "keccak256": "0xa0bac08b3d12d561fadf74c83c69f3ee54fe40e0c7766611766f6db70c202373", + "urls": [ + "bzz-raw://292f1e61a3a60f9f4075d0b567f5123d159b0541b7787e4523597ab57331eb08", + "dweb:/ipfs/QmatxDNPiYVtLap2nn4Hp3AxzkSzkdAQDirbc5QKCDfde5" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdJson.sol": { + "keccak256": "0x8f914dbd016bd0e318fe2b8bd556fbc8256c7cddc24e3e4fcb9f3c1c1935592d", + "urls": [ + "bzz-raw://19e704df493dde38323303b07d18cadfeb4dcadf1ddc2301add4aea9474fbb5e", + "dweb:/ipfs/QmZasuGiLK8LHwWtvpqEBxUR6QFY6GdzLMTJ9q7CMf8PNZ" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdMath.sol": { + "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", + "urls": [ + "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", + "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdStorage.sol": { + "keccak256": "0x4298f3f4cedaedb07029820b1daad2c03af45379559392201f7bf3ec71105811", + "urls": [ + "bzz-raw://6e062f36d8d1ae3c383ef8975757926eaa9c4de3a92b5f1fe2d12748bcd8db32", + "dweb:/ipfs/QmcWkv3ia5Ew4DZNcudMNSTNXZ3W2QiXTZunRd44e9BT8z" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdStyle.sol": { + "keccak256": "0x43e2a8a9b9c2574dabe74f11adf6f782df218f463540e3b5b563609fe108597d", + "urls": [ + "bzz-raw://51363ca97404cf4128e1141428949768c31929e75e014b02c85e887fbbb4f1b8", + "dweb:/ipfs/QmVhtbQc2fU4rRmbcfBtz34mAgG4BAZBsbna1Ca4SkoPsK" + ], + "license": "MIT" + }, + "lib/forge-std/src/StdUtils.sol": { + "keccak256": "0x8758c42ba9d9e46868b796e2330ac239006ede07bd438a4b36dd6f2c47d27dc1", + "urls": [ + "bzz-raw://11f5752e0187b1e3631b875efdbe05d45929d05f1c1717105a9115d0a6628140", + "dweb:/ipfs/QmUKkx9jfsUvjyYBw45RvrW1hTFXDXi2Jv5tbHP86mnzpi" + ], + "license": "MIT" + }, + "lib/forge-std/src/Vm.sol": { + "keccak256": "0x039a59e16791fb3595615f1ad19d614cdb1f1e567ed3bfc1a35d97177387be68", + "urls": [ + "bzz-raw://da3d0bfe99104664a3a053665578ad1277ea79e0704519d3b7ff98b3b7054155", + "dweb:/ipfs/QmesLHpsvzvC6DoTFLdgNibRU5sfeNggYtyaRfA64t2PsD" + ], + "license": "MIT" + }, + "lib/forge-std/src/console.sol": { + "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", + "urls": [ + "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", + "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" + ], + "license": "MIT" + }, + "lib/forge-std/src/console2.sol": { + "keccak256": "0x954646445d1014c3cd85c7918f5e7adeeca5ee44b68c00bafa237e597a4e35ea", + "urls": [ + "bzz-raw://516fa3be52da4763147175bfba4be0aa011fadbb0c1afb01f97265bd4cee7973", + "dweb:/ipfs/QmdixAyMJefx7qePChgdxcBH5MxhmN7vsqPuPLx3CgrVmF" + ], + "license": "MIT" + }, + "lib/forge-std/src/interfaces/IMulticall3.sol": { + "keccak256": "0x7aac1389150499a922d1f9ef5749c908cef127cb2075b92fa17e9cb611263d0a", + "urls": [ + "bzz-raw://d95ebb7c7c463e08ebc12dab639945752fb2480acfc6e86da32f72732a7fd0c0", + "dweb:/ipfs/QmNXK8P8oPWwajsQHvAHw3JPyQidPLCGQN3hWu1Lk6PBL2" + ], + "license": "MIT" + }, + "lib/forge-std/src/safeconsole.sol": { + "keccak256": "0xbaf41fdc6c54297e7cd8250e48b0f20eaac918e342a1028cef3f9a52ac086381", + "urls": [ + "bzz-raw://a500ad81dea226f9910e6b50f99a9ff930105e393a692cbfb2185e4cdb4424ae", + "dweb:/ipfs/QmVbUQpXNMmMWRiy4FvBNczzq46BMGfUoBikvSHNiCxVTq" + ], + "license": "MIT" + }, + "sol/libraries/Suave.sol": { + "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", + "urls": [ + "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", + "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" + ], + "license": "UNLICENSED" + }, + "sol/libraries/SuaveForge.sol": { + "keccak256": "0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34", + "urls": [ + "bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067", + "dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd" + ], + "license": "UNLICENSED" + }, + "sol/scripts/forge_example.sol": { + "keccak256": "0x7896dacc8632eb8ae06cf09c23115ef6e83b4bede44525fa82bd8268e1a7bded", + "urls": [ + "bzz-raw://d5d7b7971c2f34bc8eef488d9c89fbcb86c145e112841285f924d2b78c033014", + "dweb:/ipfs/QmfWZeGf2XVa2aHRt46NNhsPNdxeDWuTmPrcUQSJPdQ1cM" + ], + "license": "MIT" + } + }, + "version": 1 + }, + "ast": { + "absolutePath": "sol/scripts/forge_example.sol", + "id": 40521, + "exportedSymbols": { + "Example": [ + 40520 + ], + "Script": [ + 113 + ], + "ScriptBase": [ + 74 + ], + "StdChains": [ + 851 + ], + "StdCheatsSafe": [ + 2911 + ], + "StdStorage": [ + 4470 + ], + "StdStyle": [ + 7320 + ], + "StdUtils": [ + 8168 + ], + "Suave": [ + 39934 + ], + "SuaveForge": [ + 40444 + ], + "Vm": [ + 39946 + ], + "VmSafe": [ + 9403 + ], + "console": [ + 17938 + ], + "console2": [ + 26063 + ], + "safeconsole": [ + 39301 + ], + "stdJson": [ + 4296 + ], + "stdMath": [ + 4438 + ], + "stdStorageSafe": [ + 5518 + ] + }, + "nodeType": "SourceUnit", + "src": "32:736:16", + "nodes": [ + { + "id": 40446, + "nodeType": "PragmaDirective", + "src": "32:24:16", + "nodes": [], + "literals": [ + "solidity", + "^", + "0.8", + ".13" + ] + }, + { + "id": 40447, + "nodeType": "ImportDirective", + "src": "58:37:16", + "nodes": [], + "absolutePath": "sol/libraries/SuaveForge.sol", + "file": "../libraries/SuaveForge.sol", + "nameLocation": "-1:-1:-1", + "scope": 40521, + "sourceUnit": 40445, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40448, + "nodeType": "ImportDirective", + "src": "96:30:16", + "nodes": [], + "absolutePath": "lib/forge-std/src/Script.sol", + "file": "forge-std/Script.sol", + "nameLocation": "-1:-1:-1", + "scope": 40521, + "sourceUnit": 114, + "symbolAliases": [], + "unitAlias": "" + }, + { + "id": 40520, + "nodeType": "ContractDefinition", + "src": "128:639:16", + "nodes": [ + { + "id": 40456, + "nodeType": "VariableDeclaration", + "src": "161:119:16", + "nodes": [], + "constant": false, + "functionSelector": "b810fb43", + "mutability": "mutable", + "name": "addressList", + "nameLocation": "178:11:16", + "scope": 40520, + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 40451, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "161:7:16", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40452, + "nodeType": "ArrayTypeName", + "src": "161:9:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": { + "components": [ + { + "hexValue": "307843386466333638366234416662324242353365363045416539374546303433464530334662383239", + "id": 40453, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "193:42:16", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0xC8df3686b4Afb2BB53e60EAe97EF043FE03Fb829" + }, + { + "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303030", + "id": 40454, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "237:42:16", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "value": "0x0000000000000000000000000000000000000000" + } + ], + "id": 40455, + "isConstant": false, + "isInlineArray": true, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "192:88:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$2_memory_ptr", + "typeString": "address[2] memory" + } + }, + "visibility": "public" + }, + { + "id": 40519, + "nodeType": "FunctionDefinition", + "src": "287:478:16", + "nodes": [], + "body": { + "id": 40518, + "nodeType": "Block", + "src": "309:456:16", + "nodes": [], + "statements": [ + { + "assignments": [ + 40463 + ], + "declarations": [ + { + "constant": false, + "id": 40463, + "mutability": "mutable", + "name": "bid", + "nameLocation": "336:3:16", + "nodeType": "VariableDeclaration", + "scope": 40518, + "src": "319:20:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid" + }, + "typeName": { + "id": 40462, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40461, + "name": "Suave.Bid", + "nameLocations": [ + "319:5:16", + "325:3:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "319:9:16" + }, + "referencedDeclaration": 39328, + "src": "319:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "visibility": "internal" + } + ], + "id": 40471, + "initialValue": { + "arguments": [ + { + "hexValue": "30", + "id": 40466, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "360:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + { + "id": 40467, + "name": "addressList", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40456, + "src": "363:11:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + { + "id": 40468, + "name": "addressList", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40456, + "src": "376:11:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40469, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "389:23:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + }, + { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40464, + "name": "SuaveForge", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40444, + "src": "342:10:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", + "typeString": "type(library SuaveForge)" + } + }, + "id": 40465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "353:6:16", + "memberName": "newBid", + "nodeType": "MemberAccess", + "referencedDeclaration": 40336, + "src": "342:17:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", + "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" + } + }, + "id": 40470, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "342:71:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "319:94:16" + }, + { + "assignments": [ + 40477 + ], + "declarations": [ + { + "constant": false, + "id": 40477, + "mutability": "mutable", + "name": "allShareMatchBids", + "nameLocation": "443:17:16", + "nodeType": "VariableDeclaration", + "scope": 40518, + "src": "424:36:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid[]" + }, + "typeName": { + "baseType": { + "id": 40475, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 40474, + "name": "Suave.Bid", + "nameLocations": [ + "424:5:16", + "430:3:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 39328, + "src": "424:9:16" + }, + "referencedDeclaration": 39328, + "src": "424:9:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", + "typeString": "struct Suave.Bid" + } + }, + "id": 40476, + "nodeType": "ArrayTypeName", + "src": "424:11:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", + "typeString": "struct Suave.Bid[]" + } + }, + "visibility": "internal" + } + ], + "id": 40483, + "initialValue": { + "arguments": [ + { + "hexValue": "30", + "id": 40480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "484:1:16", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + { + "hexValue": "64656661756c743a76303a65746842756e646c6573", + "id": 40481, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "487:23:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + }, + "value": "default:v0:ethBundles" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + { + "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", + "typeString": "literal_string \"default:v0:ethBundles\"" + } + ], + "expression": { + "id": 40478, + "name": "SuaveForge", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40444, + "src": "463:10:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", + "typeString": "type(library SuaveForge)" + } + }, + "id": 40479, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "474:9:16", + "memberName": "fetchBids", + "nodeType": "MemberAccess", + "referencedDeclaration": 40277, + "src": "463:20:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", + "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" + } + }, + "id": 40482, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "463:48:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "424:87:16" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40487, + "name": "allShareMatchBids", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40477, + "src": "533:17:16", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", + "typeString": "struct Suave.Bid memory[] memory" + } + }, + "id": 40488, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "551:6:16", + "memberName": "length", + "nodeType": "MemberAccess", + "src": "533:24:16", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 40484, + "name": "console", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 17938, + "src": "521:7:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_console_$17938_$", + "typeString": "type(library console)" + } + }, + "id": 40486, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "529:3:16", + "memberName": "log", + "nodeType": "MemberAccess", + "referencedDeclaration": 10455, + "src": "521:11:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", + "typeString": "function (uint256) view" + } + }, + "id": 40489, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "521:37:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40490, + "nodeType": "ExpressionStatement", + "src": "521:37:16" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 40494, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40463, + "src": "603:3:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40495, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "607:2:16", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "603:6:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "61", + "id": 40496, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "611:3:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", + "typeString": "literal_string \"a\"" + }, + "value": "a" + }, + { + "arguments": [ + { + "hexValue": "626262626262", + "id": 40499, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "633:8:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_e404397b23f0f166177ba9e8b2f56119e01bd6bbf54d8e79ac5c1164315cdb16", + "typeString": "literal_string \"bbbbbb\"" + }, + "value": "bbbbbb" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_e404397b23f0f166177ba9e8b2f56119e01bd6bbf54d8e79ac5c1164315cdb16", + "typeString": "literal_string \"bbbbbb\"" + } + ], + "expression": { + "id": 40497, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": -1, + "src": "616:3:16", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 40498, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberLocation": "620:12:16", + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "616:16:16", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 40500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "616:26:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", + "typeString": "literal_string \"a\"" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40491, + "name": "SuaveForge", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40444, + "src": "569:10:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", + "typeString": "type(library SuaveForge)" + } + }, + "id": 40493, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "580:22:16", + "memberName": "confidentialStoreStore", + "nodeType": "MemberAccess", + "referencedDeclaration": 40196, + "src": "569:33:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (Suave.BidId,string memory,bytes memory) view" + } + }, + "id": 40501, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "569:74:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40502, + "nodeType": "ExpressionStatement", + "src": "569:74:16" + }, + { + "assignments": [ + 40504 + ], + "declarations": [ + { + "constant": false, + "id": 40504, + "mutability": "mutable", + "name": "result", + "nameLocation": "666:6:16", + "nodeType": "VariableDeclaration", + "scope": 40518, + "src": "653:19:16", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 40503, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "653:5:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 40511, + "initialValue": { + "arguments": [ + { + "expression": { + "id": 40507, + "name": "bid", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40463, + "src": "712:3:16", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", + "typeString": "struct Suave.Bid memory" + } + }, + "id": 40508, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "716:2:16", + "memberName": "id", + "nodeType": "MemberAccess", + "referencedDeclaration": 39314, + "src": "712:6:16", + "typeDescriptions": { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + } + }, + { + "hexValue": "61", + "id": 40509, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "720:3:16", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", + "typeString": "literal_string \"a\"" + }, + "value": "a" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", + "typeString": "Suave.BidId" + }, + { + "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", + "typeString": "literal_string \"a\"" + } + ], + "expression": { + "id": 40505, + "name": "SuaveForge", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40444, + "src": "675:10:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", + "typeString": "type(library SuaveForge)" + } + }, + "id": 40506, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "686:25:16", + "memberName": "confidentialStoreRetrieve", + "nodeType": "MemberAccess", + "referencedDeclaration": 40173, + "src": "675:36:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" + } + }, + "id": 40510, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "675:49:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "653:71:16" + }, + { + "expression": { + "arguments": [ + { + "id": 40515, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 40504, + "src": "751:6:16", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "id": 40512, + "name": "console", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 17938, + "src": "734:7:16", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_console_$17938_$", + "typeString": "type(library console)" + } + }, + "id": 40514, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberLocation": "742:8:16", + "memberName": "logBytes", + "nodeType": "MemberAccess", + "referencedDeclaration": 9993, + "src": "734:16:16", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (bytes memory) view" + } + }, + "id": 40516, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "nameLocations": [], + "names": [], + "nodeType": "FunctionCall", + "src": "734:24:16", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 40517, + "nodeType": "ExpressionStatement", + "src": "734:24:16" + } + ] + }, + "functionSelector": "c0406226", + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "run", + "nameLocation": "296:3:16", + "parameters": { + "id": 40457, + "nodeType": "ParameterList", + "parameters": [], + "src": "299:2:16" + }, + "returnParameters": { + "id": 40458, + "nodeType": "ParameterList", + "parameters": [], + "src": "309:0:16" + }, + "scope": 40520, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 40449, + "name": "Script", + "nameLocations": [ + "148:6:16" + ], + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "148:6:16" + }, + "id": 40450, + "nodeType": "InheritanceSpecifier", + "src": "148:6:16" + } + ], + "canonicalName": "Example", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 40520, + 113, + 8168, + 2911, + 851, + 74, + 62 + ], + "name": "Example", + "nameLocation": "137:7:16", + "scope": 40521, + "usedErrors": [] + } + ], + "license": "MIT" + }, + "id": 16 +} \ No newline at end of file diff --git a/suave/sol/scripts/forge_example.sol b/suave/sol/scripts/forge_example.sol index 55cc2b96a2..b30add9e04 100644 --- a/suave/sol/scripts/forge_example.sol +++ b/suave/sol/scripts/forge_example.sol @@ -5,7 +5,7 @@ import "../libraries/SuaveForge.sol"; import "forge-std/Script.sol"; contract Example is Script { - address[] public addressList = [0x0000000000000000000000000000000000000000]; + address[] public addressList = [0xC8df3686b4Afb2BB53e60EAe97EF043FE03Fb829]; function run() public { Suave.Bid memory bid = SuaveForge.newBid(0, addressList, addressList, "default:v0:ethBundles"); From f994cff9307d40ea09ed44e641b5788b8bafd1e2 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Mon, 30 Oct 2023 13:01:44 +0100 Subject: [PATCH 2/2] Build the artifacts correctly --- suave/artifacts/Suave.sol/Suave.json | 8799 +------ suave/artifacts/SuaveAbi.sol/SuaveAbi.json | 2137 +- .../artifacts/SuaveForge.sol/SuaveForge.json | 6959 +----- suave/artifacts/SuaveForge.sol/Vm.json | 6959 +----- suave/artifacts/bids.sol/AnyBidContract.json | 19463 +-------------- .../artifacts/bids.sol/BundleBidContract.json | 19493 +-------------- .../bids.sol/EthBlockBidContract.json | 20039 +-------------- .../bids.sol/EthBlockBidSenderContract.json | 20050 +--------------- .../bids.sol/EthBundleSenderContract.json | 19524 +-------------- .../bids.sol/MevShareBidContract.json | 19616 +-------------- .../MevShareBundleSenderContract.json | 19647 +-------------- .../example.sol/ExampleEthCallSource.json | 774 +- .../example.sol/ExampleEthCallTarget.json | 754 +- .../artifacts/forge_example.sol/Example.json | 1289 +- 14 files changed, 70 insertions(+), 165433 deletions(-) diff --git a/suave/artifacts/Suave.sol/Suave.json b/suave/artifacts/Suave.sol/Suave.json index c054148808..1bb8dd8f07 100644 --- a/suave/artifacts/Suave.sol/Suave.json +++ b/suave/artifacts/Suave.sol/Suave.json @@ -199,8799 +199,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x6101bc61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a", - "sourceMap": "64:7418:14:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;64:7418:14;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a", - "sourceMap": "64:7418:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1462:90;;1510:42;1462:90;;;;;-1:-1:-1;;;;;186:32:20;;;168:51;;156:2;141:18;1462:90:14;;;;;;;1205:76;;1239:42;1205:76;;907:88;;953:42;907:88;;1559:76;;1593:42;1559:76;;1642:89;;1689:42;1642:89;;1288:81;;1327:42;1288:81;;816:84;;858:42;816:84;;1738;;1780:42;1738:84;;1105:93;;1156:42;1105:93;;1927:98;;1983:42;1927:98;;1376:79;;1413:42;1376:79;;720:89;;767:42;720:89;;1829:91;;1878:42;1829:91;;1002:96;;1056:42;1002:96;", - "linkReferences": {} - }, - "methodIdentifiers": { - "BUILD_ETH_BLOCK()": "94804c69", - "CONFIDENTIAL_INPUTS()": "69094cbc", - "CONFIDENTIAL_STORE_RETRIEVE()": "f6ab3de5", - "CONFIDENTIAL_STORE_STORE()": "b7817da0", - "ETHCALL()": "040e5183", - "EXTRACT_HINT()": "751afe2c", - "FETCH_BIDS()": "c91e11df", - "FILL_MEV_SHARE_BUNDLE()": "01c19530", - "IS_CONFIDENTIAL_ADDR()": "d91525db", - "NEW_BID()": "7320cb17", - "SIGN_ETH_TRANSACTION()": "744795b9", - "SIMULATE_BUNDLE()": "b61b127d", - "SUBMIT_BUNDLE_JSON_RPC()": "f0608b1c", - "SUBMIT_ETH_BLOCK_BID_TO_RELAY()": "bc50c005" + "object": "0x73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BUILD_ETH_BLOCK\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIDENTIAL_INPUTS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIDENTIAL_STORE_RETRIEVE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CONFIDENTIAL_STORE_STORE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ETHCALL\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EXTRACT_HINT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FETCH_BIDS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FILL_MEV_SHARE_BUNDLE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"IS_CONFIDENTIAL_ADDR\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NEW_BID\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SIGN_ETH_TRANSACTION\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SIMULATE_BUNDLE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBMIT_BUNDLE_JSON_RPC\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBMIT_ETH_BLOCK_BID_TO_RELAY\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/Suave.sol\":\"Suave\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "BUILD_ETH_BLOCK", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "CONFIDENTIAL_INPUTS", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "CONFIDENTIAL_STORE_RETRIEVE", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "CONFIDENTIAL_STORE_STORE", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "ETHCALL", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "EXTRACT_HINT", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "FETCH_BIDS", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "FILL_MEV_SHARE_BUNDLE", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_CONFIDENTIAL_ADDR", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "NEW_BID", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SIGN_ETH_TRANSACTION", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SIMULATE_BUNDLE", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SUBMIT_BUNDLE_JSON_RPC", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/libraries/Suave.sol": "Suave" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/libraries/Suave.sol", - "id": 39935, - "exportedSymbols": { - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "39:7444:14", - "nodes": [ - { - "id": 39303, - "nodeType": "PragmaDirective", - "src": "39:23:14", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 39934, - "nodeType": "ContractDefinition", - "src": "64:7418:14", - "nodes": [ - { - "id": 39309, - "nodeType": "ErrorDefinition", - "src": "84:37:14", - "nodes": [], - "errorSelector": "75fff467", - "name": "PeekerReverted", - "nameLocation": "90:14:14", - "parameters": { - "id": 39308, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39305, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39309, - "src": "105:7:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39304, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "105:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39307, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39309, - "src": "114:5:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39306, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "114:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "104:16:14" - } - }, - { - "id": 39311, - "nodeType": "UserDefinedValueTypeDefinition", - "src": "127:22:14", - "nodes": [], - "canonicalName": "Suave.BidId", - "name": "BidId", - "nameLocation": "132:5:14", - "underlyingType": { - "id": 39310, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "141:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - } - }, - { - "id": 39328, - "nodeType": "StructDefinition", - "src": "155:183:14", - "nodes": [], - "canonicalName": "Suave.Bid", - "members": [ - { - "constant": false, - "id": 39314, - "mutability": "mutable", - "name": "id", - "nameLocation": "182:2:14", - "nodeType": "VariableDeclaration", - "scope": 39328, - "src": "176:8:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39313, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39312, - "name": "BidId", - "nameLocations": [ - "176:5:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "176:5:14" - }, - "referencedDeclaration": 39311, - "src": "176:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39317, - "mutability": "mutable", - "name": "salt", - "nameLocation": "200:4:14", - "nodeType": "VariableDeclaration", - "scope": 39328, - "src": "194:10:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39315, - "name": "BidId", - "nameLocations": [ - "194:5:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "194:5:14" - }, - "referencedDeclaration": 39311, - "src": "194:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39319, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "221:19:14", - "nodeType": "VariableDeclaration", - "scope": 39328, - "src": "214:26:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "214:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39322, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "260:14:14", - "nodeType": "VariableDeclaration", - "scope": 39328, - "src": "250:24:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 39320, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "250:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39321, - "nodeType": "ArrayTypeName", - "src": "250:9:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39325, - "mutability": "mutable", - "name": "allowedStores", - "nameLocation": "294:13:14", - "nodeType": "VariableDeclaration", - "scope": 39328, - "src": "284:23:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 39323, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "284:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39324, - "nodeType": "ArrayTypeName", - "src": "284:9:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39327, - "mutability": "mutable", - "name": "version", - "nameLocation": "324:7:14", - "nodeType": "VariableDeclaration", - "scope": 39328, - "src": "317:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39326, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "317:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "name": "Bid", - "nameLocation": "162:3:14", - "scope": 39934, - "visibility": "public" - }, - { - "id": 39347, - "nodeType": "StructDefinition", - "src": "344:243:14", - "nodes": [], - "canonicalName": "Suave.BuildBlockArgs", - "members": [ - { - "constant": false, - "id": 39330, - "mutability": "mutable", - "name": "slot", - "nameLocation": "383:4:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "376:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39329, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "376:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39332, - "mutability": "mutable", - "name": "proposerPubkey", - "nameLocation": "403:14:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "397:20:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39331, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "397:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39334, - "mutability": "mutable", - "name": "parent", - "nameLocation": "435:6:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "427:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 39333, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "427:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39336, - "mutability": "mutable", - "name": "timestamp", - "nameLocation": "458:9:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "451:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39335, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "451:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39338, - "mutability": "mutable", - "name": "feeRecipient", - "nameLocation": "485:12:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "477:20:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39337, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "477:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39340, - "mutability": "mutable", - "name": "gasLimit", - "nameLocation": "514:8:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "507:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39339, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "507:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39342, - "mutability": "mutable", - "name": "random", - "nameLocation": "540:6:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "532:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 39341, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "532:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39346, - "mutability": "mutable", - "name": "withdrawals", - "nameLocation": "569:11:14", - "nodeType": "VariableDeclaration", - "scope": 39347, - "src": "556:24:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Withdrawal_$39356_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Withdrawal[]" - }, - "typeName": { - "baseType": { - "id": 39344, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39343, - "name": "Withdrawal", - "nameLocations": [ - "556:10:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39356, - "src": "556:10:14" - }, - "referencedDeclaration": 39356, - "src": "556:10:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Withdrawal_$39356_storage_ptr", - "typeString": "struct Suave.Withdrawal" - } - }, - "id": 39345, - "nodeType": "ArrayTypeName", - "src": "556:12:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Withdrawal_$39356_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Withdrawal[]" - } - }, - "visibility": "internal" - } - ], - "name": "BuildBlockArgs", - "nameLocation": "351:14:14", - "scope": 39934, - "visibility": "public" - }, - { - "id": 39356, - "nodeType": "StructDefinition", - "src": "593:121:14", - "nodes": [], - "canonicalName": "Suave.Withdrawal", - "members": [ - { - "constant": false, - "id": 39349, - "mutability": "mutable", - "name": "index", - "nameLocation": "628:5:14", - "nodeType": "VariableDeclaration", - "scope": 39356, - "src": "621:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39348, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "621:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39351, - "mutability": "mutable", - "name": "validator", - "nameLocation": "650:9:14", - "nodeType": "VariableDeclaration", - "scope": 39356, - "src": "643:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39350, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "643:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39353, - "mutability": "mutable", - "name": "Address", - "nameLocation": "677:7:14", - "nodeType": "VariableDeclaration", - "scope": 39356, - "src": "669:15:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39352, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "669:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39355, - "mutability": "mutable", - "name": "amount", - "nameLocation": "701:6:14", - "nodeType": "VariableDeclaration", - "scope": 39356, - "src": "694:13:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39354, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "694:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "name": "Withdrawal", - "nameLocation": "600:10:14", - "scope": 39934, - "visibility": "public" - }, - { - "id": 39359, - "nodeType": "VariableDeclaration", - "src": "720:89:14", - "nodes": [], - "constant": true, - "functionSelector": "d91525db", - "mutability": "constant", - "name": "IS_CONFIDENTIAL_ADDR", - "nameLocation": "744:20:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "720:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303030", - "id": 39358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "767:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042010000" - }, - "visibility": "public" - }, - { - "id": 39362, - "nodeType": "VariableDeclaration", - "src": "816:84:14", - "nodes": [], - "constant": true, - "functionSelector": "94804c69", - "mutability": "constant", - "name": "BUILD_ETH_BLOCK", - "nameLocation": "840:15:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39360, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "816:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303031", - "id": 39361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "858:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042100001" - }, - "visibility": "public" - }, - { - "id": 39365, - "nodeType": "VariableDeclaration", - "src": "907:88:14", - "nodes": [], - "constant": true, - "functionSelector": "69094cbc", - "mutability": "constant", - "name": "CONFIDENTIAL_INPUTS", - "nameLocation": "931:19:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "907:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303031", - "id": 39364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "953:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042010001" - }, - "visibility": "public" - }, - { - "id": 39368, - "nodeType": "VariableDeclaration", - "src": "1002:96:14", - "nodes": [], - "constant": true, - "functionSelector": "f6ab3de5", - "mutability": "constant", - "name": "CONFIDENTIAL_STORE_RETRIEVE", - "nameLocation": "1026:27:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39366, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1002:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303031", - "id": 39367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1056:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042020001" - }, - "visibility": "public" - }, - { - "id": 39371, - "nodeType": "VariableDeclaration", - "src": "1105:93:14", - "nodes": [], - "constant": true, - "functionSelector": "b7817da0", - "mutability": "constant", - "name": "CONFIDENTIAL_STORE_STORE", - "nameLocation": "1129:24:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39369, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1105:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303030", - "id": 39370, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1156:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042020000" - }, - "visibility": "public" - }, - { - "id": 39374, - "nodeType": "VariableDeclaration", - "src": "1205:76:14", - "nodes": [], - "constant": true, - "functionSelector": "040e5183", - "mutability": "constant", - "name": "ETHCALL", - "nameLocation": "1229:7:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39372, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1205:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303033", - "id": 39373, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1239:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042100003" - }, - "visibility": "public" - }, - { - "id": 39377, - "nodeType": "VariableDeclaration", - "src": "1288:81:14", - "nodes": [], - "constant": true, - "functionSelector": "751afe2c", - "mutability": "constant", - "name": "EXTRACT_HINT", - "nameLocation": "1312:12:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39375, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1288:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303337", - "id": 39376, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1327:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042100037" - }, - "visibility": "public" - }, - { - "id": 39380, - "nodeType": "VariableDeclaration", - "src": "1376:79:14", - "nodes": [], - "constant": true, - "functionSelector": "c91e11df", - "mutability": "constant", - "name": "FETCH_BIDS", - "nameLocation": "1400:10:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39378, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1376:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303031", - "id": 39379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1413:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042030001" - }, - "visibility": "public" - }, - { - "id": 39383, - "nodeType": "VariableDeclaration", - "src": "1462:90:14", - "nodes": [], - "constant": true, - "functionSelector": "01c19530", - "mutability": "constant", - "name": "FILL_MEV_SHARE_BUNDLE", - "nameLocation": "1486:21:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39381, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1462:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433323030303031", - "id": 39382, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1510:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000043200001" - }, - "visibility": "public" - }, - { - "id": 39386, - "nodeType": "VariableDeclaration", - "src": "1559:76:14", - "nodes": [], - "constant": true, - "functionSelector": "7320cb17", - "mutability": "constant", - "name": "NEW_BID", - "nameLocation": "1583:7:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39384, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1559:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303030", - "id": 39385, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1593:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042030000" - }, - "visibility": "public" - }, - { - "id": 39389, - "nodeType": "VariableDeclaration", - "src": "1642:89:14", - "nodes": [], - "constant": true, - "functionSelector": "744795b9", - "mutability": "constant", - "name": "SIGN_ETH_TRANSACTION", - "nameLocation": "1666:20:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39387, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1642:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303430313030303031", - "id": 39388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1689:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000040100001" - }, - "visibility": "public" - }, - { - "id": 39392, - "nodeType": "VariableDeclaration", - "src": "1738:84:14", - "nodes": [], - "constant": true, - "functionSelector": "b61b127d", - "mutability": "constant", - "name": "SIMULATE_BUNDLE", - "nameLocation": "1762:15:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39390, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1738:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303030", - "id": 39391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1780:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042100000" - }, - "visibility": "public" - }, - { - "id": 39395, - "nodeType": "VariableDeclaration", - "src": "1829:91:14", - "nodes": [], - "constant": true, - "functionSelector": "f0608b1c", - "mutability": "constant", - "name": "SUBMIT_BUNDLE_JSON_RPC", - "nameLocation": "1853:22:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39393, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1829:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433303030303031", - "id": 39394, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1878:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000043000001" - }, - "visibility": "public" - }, - { - "id": 39398, - "nodeType": "VariableDeclaration", - "src": "1927:98:14", - "nodes": [], - "constant": true, - "functionSelector": "bc50c005", - "mutability": "constant", - "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", - "nameLocation": "1951:29:14", - "scope": 39934, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39396, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1927:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303032", - "id": 39397, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1983:42:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000042100002" - }, - "visibility": "public" - }, - { - "id": 39423, - "nodeType": "FunctionDefinition", - "src": "2085:519:14", - "nodes": [], - "body": { - "id": 39422, - "nodeType": "Block", - "src": "2142:462:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39404, - 39406 - ], - "declarations": [ - { - "constant": false, - "id": 39404, - "mutability": "mutable", - "name": "success", - "nameLocation": "2158:7:14", - "nodeType": "VariableDeclaration", - "scope": 39422, - "src": "2153:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39403, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2153:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39406, - "mutability": "mutable", - "name": "isConfidentialBytes", - "nameLocation": "2180:19:14", - "nodeType": "VariableDeclaration", - "scope": 39422, - "src": "2167:32:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39405, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2167:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39411, - "initialValue": { - "arguments": [ - { - "hexValue": "", - "id": 39409, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2235:2:14", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "expression": { - "id": 39407, - "name": "IS_CONFIDENTIAL_ADDR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39359, - "src": "2203:20:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2224:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "2203:31:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2203:35:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2152:86:14" - }, - { - "condition": { - "id": 39413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "2252:8:14", - "subExpression": { - "id": 39412, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39404, - "src": "2253:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39420, - "nodeType": "IfStatement", - "src": "2248:103:14", - "trueBody": { - "id": 39419, - "nodeType": "Block", - "src": "2262:89:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39415, - "name": "IS_CONFIDENTIAL_ADDR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39359, - "src": "2298:20:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39416, - "name": "isConfidentialBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39406, - "src": "2320:19:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39414, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "2283:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39417, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2283:57:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39418, - "nodeType": "RevertStatement", - "src": "2276:64:14" - } - ] - } - }, - { - "AST": { - "nodeType": "YulBlock", - "src": "2369:229:14", - "statements": [ - { - "nodeType": "YulVariableDeclaration", - "src": "2439:37:14", - "value": { - "arguments": [ - { - "name": "isConfidentialBytes", - "nodeType": "YulIdentifier", - "src": "2456:19:14" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2450:5:14" - }, - "nodeType": "YulFunctionCall", - "src": "2450:26:14" - }, - "variables": [ - { - "name": "len", - "nodeType": "YulTypedName", - "src": "2443:3:14", - "type": "" - } - ] - }, - { - "nodeType": "YulAssignment", - "src": "2546:42:14", - "value": { - "arguments": [ - { - "arguments": [ - { - "name": "isConfidentialBytes", - "nodeType": "YulIdentifier", - "src": "2561:19:14" - }, - { - "kind": "number", - "nodeType": "YulLiteral", - "src": "2582:4:14", - "type": "", - "value": "0x20" - } - ], - "functionName": { - "name": "add", - "nodeType": "YulIdentifier", - "src": "2557:3:14" - }, - "nodeType": "YulFunctionCall", - "src": "2557:30:14" - } - ], - "functionName": { - "name": "mload", - "nodeType": "YulIdentifier", - "src": "2551:5:14" - }, - "nodeType": "YulFunctionCall", - "src": "2551:37:14" - }, - "variableNames": [ - { - "name": "b", - "nodeType": "YulIdentifier", - "src": "2546:1:14" - } - ] - } - ] - }, - "evmVersion": "london", - "externalReferences": [ - { - "declaration": 39401, - "isOffset": false, - "isSlot": false, - "src": "2546:1:14", - "valueSize": 1 - }, - { - "declaration": 39406, - "isOffset": false, - "isSlot": false, - "src": "2456:19:14", - "valueSize": 1 - }, - { - "declaration": 39406, - "isOffset": false, - "isSlot": false, - "src": "2561:19:14", - "valueSize": 1 - } - ], - "id": 39421, - "nodeType": "InlineAssembly", - "src": "2360:238:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isConfidential", - "nameLocation": "2094:14:14", - "parameters": { - "id": 39399, - "nodeType": "ParameterList", - "parameters": [], - "src": "2108:2:14" - }, - "returnParameters": { - "id": 39402, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39401, - "mutability": "mutable", - "name": "b", - "nameLocation": "2139:1:14", - "nodeType": "VariableDeclaration", - "scope": 39423, - "src": "2134:6:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39400, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2134:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "2133:8:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39472, - "nodeType": "FunctionDefinition", - "src": "2610:435:14", - "nodes": [], - "body": { - "id": 39471, - "nodeType": "Block", - "src": "2783:262:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39439, - 39441 - ], - "declarations": [ - { - "constant": false, - "id": 39439, - "mutability": "mutable", - "name": "success", - "nameLocation": "2799:7:14", - "nodeType": "VariableDeclaration", - "scope": 39471, - "src": "2794:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39438, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2794:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39441, - "mutability": "mutable", - "name": "data", - "nameLocation": "2821:4:14", - "nodeType": "VariableDeclaration", - "scope": 39471, - "src": "2808:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39440, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2808:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39451, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39446, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39426, - "src": "2867:9:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 39447, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39429, - "src": "2878:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 39448, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39431, - "src": "2885:9:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 39444, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2856:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39445, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2860:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2856:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2856:39:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39442, - "name": "BUILD_ETH_BLOCK", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39362, - "src": "2829:15:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39443, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2845:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "2829:26:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2829:67:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2793:103:14" - }, - { - "condition": { - "id": 39453, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "2910:8:14", - "subExpression": { - "id": 39452, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39439, - "src": "2911:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39460, - "nodeType": "IfStatement", - "src": "2906:83:14", - "trueBody": { - "id": 39459, - "nodeType": "Block", - "src": "2920:69:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39455, - "name": "BUILD_ETH_BLOCK", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39362, - "src": "2956:15:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39456, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39441, - "src": "2973:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39454, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "2941:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2941:37:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39458, - "nodeType": "RevertStatement", - "src": "2934:44:14" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 39463, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39441, - "src": "3017:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 39465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3024:5:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 39464, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3024:5:14", - "typeDescriptions": {} - } - }, - { - "id": 39467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3031:5:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 39466, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3031:5:14", - "typeDescriptions": {} - } - } - ], - "id": 39468, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3023:14:14", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" - } - ], - "expression": { - "id": 39461, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3006:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39462, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3010:6:14", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3006:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 39469, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3006:32:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "functionReturnParameters": 39437, - "id": 39470, - "nodeType": "Return", - "src": "2999:39:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildEthBlock", - "nameLocation": "2619:13:14", - "parameters": { - "id": 39432, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39426, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "2655:9:14", - "nodeType": "VariableDeclaration", - "scope": 39472, - "src": "2633:31:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 39425, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39424, - "name": "BuildBlockArgs", - "nameLocations": [ - "2633:14:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "2633:14:14" - }, - "referencedDeclaration": 39347, - "src": "2633:14:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39429, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2672:5:14", - "nodeType": "VariableDeclaration", - "scope": 39472, - "src": "2666:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39428, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39427, - "name": "BidId", - "nameLocations": [ - "2666:5:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2666:5:14" - }, - "referencedDeclaration": 39311, - "src": "2666:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39431, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "2693:9:14", - "nodeType": "VariableDeclaration", - "scope": 39472, - "src": "2679:23:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39430, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2679:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2632:71:14" - }, - "returnParameters": { - "id": 39437, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39434, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39472, - "src": "2751:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39433, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2751:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39436, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39472, - "src": "2765:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39435, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2765:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2750:28:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39500, - "nodeType": "FunctionDefinition", - "src": "3051:282:14", - "nodes": [], - "body": { - "id": 39499, - "nodeType": "Block", - "src": "3118:215:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39478, - 39480 - ], - "declarations": [ - { - "constant": false, - "id": 39478, - "mutability": "mutable", - "name": "success", - "nameLocation": "3134:7:14", - "nodeType": "VariableDeclaration", - "scope": 39499, - "src": "3129:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39477, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3129:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39480, - "mutability": "mutable", - "name": "data", - "nameLocation": "3156:4:14", - "nodeType": "VariableDeclaration", - "scope": 39499, - "src": "3143:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39479, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3143:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39487, - "initialValue": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 39483, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3195:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39484, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3199:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3195:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39485, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3195:12:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39481, - "name": "CONFIDENTIAL_INPUTS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39365, - "src": "3164:19:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3184:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "3164:30:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:44:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3128:80:14" - }, - { - "condition": { - "id": 39489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3222:8:14", - "subExpression": { - "id": 39488, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39478, - "src": "3223:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39496, - "nodeType": "IfStatement", - "src": "3218:87:14", - "trueBody": { - "id": 39495, - "nodeType": "Block", - "src": "3232:73:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39491, - "name": "CONFIDENTIAL_INPUTS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39365, - "src": "3268:19:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39492, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39480, - "src": "3289:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39490, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "3253:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3253:41:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39494, - "nodeType": "RevertStatement", - "src": "3246:48:14" - } - ] - } - }, - { - "expression": { - "id": 39497, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39480, - "src": "3322:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39476, - "id": 39498, - "nodeType": "Return", - "src": "3315:11:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialInputs", - "nameLocation": "3060:18:14", - "parameters": { - "id": 39473, - "nodeType": "ParameterList", - "parameters": [], - "src": "3078:2:14" - }, - "returnParameters": { - "id": 39476, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39475, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39500, - "src": "3104:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39474, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3104:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3103:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39535, - "nodeType": "FunctionDefinition", - "src": "3339:345:14", - "nodes": [], - "body": { - "id": 39534, - "nodeType": "Block", - "src": "3443:241:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39511, - 39513 - ], - "declarations": [ - { - "constant": false, - "id": 39511, - "mutability": "mutable", - "name": "success", - "nameLocation": "3459:7:14", - "nodeType": "VariableDeclaration", - "scope": 39534, - "src": "3454:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39510, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3454:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39513, - "mutability": "mutable", - "name": "data", - "nameLocation": "3481:4:14", - "nodeType": "VariableDeclaration", - "scope": 39534, - "src": "3468:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39512, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3468:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39522, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39518, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39503, - "src": "3539:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 39519, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39505, - "src": "3546:3:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 39516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3528:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3532:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3528:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3528:22:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39514, - "name": "CONFIDENTIAL_STORE_RETRIEVE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39368, - "src": "3489:27:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39515, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3517:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "3489:38:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39521, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3489:62:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3453:98:14" - }, - { - "condition": { - "id": 39524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3565:8:14", - "subExpression": { - "id": 39523, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39511, - "src": "3566:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39531, - "nodeType": "IfStatement", - "src": "3561:95:14", - "trueBody": { - "id": 39530, - "nodeType": "Block", - "src": "3575:81:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39526, - "name": "CONFIDENTIAL_STORE_RETRIEVE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39368, - "src": "3611:27:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39527, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39513, - "src": "3640:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39525, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "3596:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3596:49:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39529, - "nodeType": "RevertStatement", - "src": "3589:56:14" - } - ] - } - }, - { - "expression": { - "id": 39532, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39513, - "src": "3673:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39509, - "id": 39533, - "nodeType": "Return", - "src": "3666:11:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreRetrieve", - "nameLocation": "3348:25:14", - "parameters": { - "id": 39506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39503, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "3380:5:14", - "nodeType": "VariableDeclaration", - "scope": 39535, - "src": "3374:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39502, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39501, - "name": "BidId", - "nameLocations": [ - "3374:5:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3374:5:14" - }, - "referencedDeclaration": 39311, - "src": "3374:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39505, - "mutability": "mutable", - "name": "key", - "nameLocation": "3401:3:14", - "nodeType": "VariableDeclaration", - "scope": 39535, - "src": "3387:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39504, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3387:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3373:32:14" - }, - "returnParameters": { - "id": 39509, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39508, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39535, - "src": "3429:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39507, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3429:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3428:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39569, - "nodeType": "FunctionDefinition", - "src": "3690:318:14", - "nodes": [], - "body": { - "id": 39568, - "nodeType": "Block", - "src": "3788:220:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39546, - 39548 - ], - "declarations": [ - { - "constant": false, - "id": 39546, - "mutability": "mutable", - "name": "success", - "nameLocation": "3804:7:14", - "nodeType": "VariableDeclaration", - "scope": 39568, - "src": "3799:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39545, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3799:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39548, - "mutability": "mutable", - "name": "data", - "nameLocation": "3826:4:14", - "nodeType": "VariableDeclaration", - "scope": 39568, - "src": "3813:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39547, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3813:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39558, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39553, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39538, - "src": "3881:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 39554, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39540, - "src": "3888:3:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 39555, - "name": "data1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39542, - "src": "3893:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39551, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3870:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39552, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3874:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3870:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3870:29:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39549, - "name": "CONFIDENTIAL_STORE_STORE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39371, - "src": "3834:24:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39550, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3859:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "3834:35:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3834:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3798:102:14" - }, - { - "condition": { - "id": 39560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "3914:8:14", - "subExpression": { - "id": 39559, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39546, - "src": "3915:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39567, - "nodeType": "IfStatement", - "src": "3910:92:14", - "trueBody": { - "id": 39566, - "nodeType": "Block", - "src": "3924:78:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39562, - "name": "CONFIDENTIAL_STORE_STORE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39371, - "src": "3960:24:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39563, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39548, - "src": "3986:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39561, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "3945:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3945:46:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39565, - "nodeType": "RevertStatement", - "src": "3938:53:14" - } - ] - } - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreStore", - "nameLocation": "3699:22:14", - "parameters": { - "id": 39543, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39538, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "3728:5:14", - "nodeType": "VariableDeclaration", - "scope": 39569, - "src": "3722:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39537, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39536, - "name": "BidId", - "nameLocations": [ - "3722:5:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3722:5:14" - }, - "referencedDeclaration": 39311, - "src": "3722:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39540, - "mutability": "mutable", - "name": "key", - "nameLocation": "3749:3:14", - "nodeType": "VariableDeclaration", - "scope": 39569, - "src": "3735:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39539, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3735:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39542, - "mutability": "mutable", - "name": "data1", - "nameLocation": "3767:5:14", - "nodeType": "VariableDeclaration", - "scope": 39569, - "src": "3754:18:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39541, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3754:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3721:52:14" - }, - "returnParameters": { - "id": 39544, - "nodeType": "ParameterList", - "parameters": [], - "src": "3788:0:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39609, - "nodeType": "FunctionDefinition", - "src": "4014:329:14", - "nodes": [], - "body": { - "id": 39608, - "nodeType": "Block", - "src": "4111:232:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39579, - 39581 - ], - "declarations": [ - { - "constant": false, - "id": 39579, - "mutability": "mutable", - "name": "success", - "nameLocation": "4127:7:14", - "nodeType": "VariableDeclaration", - "scope": 39608, - "src": "4122:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39578, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4122:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39581, - "mutability": "mutable", - "name": "data", - "nameLocation": "4149:4:14", - "nodeType": "VariableDeclaration", - "scope": 39608, - "src": "4136:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39580, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4136:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39590, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39586, - "name": "contractAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39571, - "src": "4187:12:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39587, - "name": "input1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39573, - "src": "4201:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39584, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4176:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39585, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4180:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4176:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4176:32:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39582, - "name": "ETHCALL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39374, - "src": "4157:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4165:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "4157:18:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39589, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4157:52:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4121:88:14" - }, - { - "condition": { - "id": 39592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "4223:8:14", - "subExpression": { - "id": 39591, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39579, - "src": "4224:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39599, - "nodeType": "IfStatement", - "src": "4219:75:14", - "trueBody": { - "id": 39598, - "nodeType": "Block", - "src": "4233:61:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39594, - "name": "ETHCALL", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39374, - "src": "4269:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39595, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39581, - "src": "4278:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39593, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "4254:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4254:29:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39597, - "nodeType": "RevertStatement", - "src": "4247:36:14" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 39602, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39581, - "src": "4322:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 39604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4329:5:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 39603, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4329:5:14", - "typeDescriptions": {} - } - } - ], - "id": 39605, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4328:7:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 39600, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4311:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39601, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4315:6:14", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4311:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 39606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4311:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39577, - "id": 39607, - "nodeType": "Return", - "src": "4304:32:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ethcall", - "nameLocation": "4023:7:14", - "parameters": { - "id": 39574, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39571, - "mutability": "mutable", - "name": "contractAddr", - "nameLocation": "4039:12:14", - "nodeType": "VariableDeclaration", - "scope": 39609, - "src": "4031:20:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39570, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4031:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39573, - "mutability": "mutable", - "name": "input1", - "nameLocation": "4066:6:14", - "nodeType": "VariableDeclaration", - "scope": 39609, - "src": "4053:19:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39572, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4053:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4030:43:14" - }, - "returnParameters": { - "id": 39577, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39576, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39609, - "src": "4097:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39575, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4097:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4096:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39645, - "nodeType": "FunctionDefinition", - "src": "4349:329:14", - "nodes": [], - "body": { - "id": 39644, - "nodeType": "Block", - "src": "4432:246:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 39617, - "name": "isConfidential", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39423, - "src": "4450:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 39618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4450:16:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 39616, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "4442:7:14", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 39619, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4442:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39620, - "nodeType": "ExpressionStatement", - "src": "4442:25:14" - }, - { - "assignments": [ - 39622, - 39624 - ], - "declarations": [ - { - "constant": false, - "id": 39622, - "mutability": "mutable", - "name": "success", - "nameLocation": "4483:7:14", - "nodeType": "VariableDeclaration", - "scope": 39644, - "src": "4478:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39621, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4478:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39624, - "mutability": "mutable", - "name": "data", - "nameLocation": "4505:4:14", - "nodeType": "VariableDeclaration", - "scope": 39644, - "src": "4492:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39623, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4492:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39632, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39629, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39611, - "src": "4548:10:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39627, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4537:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4541:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4537:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4537:22:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39625, - "name": "EXTRACT_HINT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39377, - "src": "4513:12:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39626, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4526:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "4513:23:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39631, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4513:47:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4477:83:14" - }, - { - "condition": { - "id": 39634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "4574:8:14", - "subExpression": { - "id": 39633, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39622, - "src": "4575:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39641, - "nodeType": "IfStatement", - "src": "4570:80:14", - "trueBody": { - "id": 39640, - "nodeType": "Block", - "src": "4584:66:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39636, - "name": "EXTRACT_HINT", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39377, - "src": "4620:12:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39637, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39624, - "src": "4634:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39635, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "4605:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4605:34:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39639, - "nodeType": "RevertStatement", - "src": "4598:41:14" - } - ] - } - }, - { - "expression": { - "id": 39642, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39624, - "src": "4667:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39615, - "id": 39643, - "nodeType": "Return", - "src": "4660:11:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "extractHint", - "nameLocation": "4358:11:14", - "parameters": { - "id": 39612, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39611, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "4383:10:14", - "nodeType": "VariableDeclaration", - "scope": 39645, - "src": "4370:23:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39610, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4370:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4369:25:14" - }, - "returnParameters": { - "id": 39615, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39614, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39645, - "src": "4418:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39613, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4418:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4417:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39687, - "nodeType": "FunctionDefinition", - "src": "4684:327:14", - "nodes": [], - "body": { - "id": 39686, - "nodeType": "Block", - "src": "4778:233:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39657, - 39659 - ], - "declarations": [ - { - "constant": false, - "id": 39657, - "mutability": "mutable", - "name": "success", - "nameLocation": "4794:7:14", - "nodeType": "VariableDeclaration", - "scope": 39686, - "src": "4789:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4789:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39659, - "mutability": "mutable", - "name": "data", - "nameLocation": "4816:4:14", - "nodeType": "VariableDeclaration", - "scope": 39686, - "src": "4803:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39658, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4803:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39668, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39664, - "name": "cond", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39647, - "src": "4857:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 39665, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39649, - "src": "4863:9:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 39662, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4846:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4850:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4846:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4846:27:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39660, - "name": "FETCH_BIDS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39380, - "src": "4824:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39661, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4835:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "4824:21:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4824:50:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4788:86:14" - }, - { - "condition": { - "id": 39670, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "4888:8:14", - "subExpression": { - "id": 39669, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39657, - "src": "4889:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39677, - "nodeType": "IfStatement", - "src": "4884:78:14", - "trueBody": { - "id": 39676, - "nodeType": "Block", - "src": "4898:64:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39672, - "name": "FETCH_BIDS", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39380, - "src": "4934:10:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39673, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39659, - "src": "4946:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39671, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "4919:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39674, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4919:32:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39675, - "nodeType": "RevertStatement", - "src": "4912:39:14" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 39680, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39659, - "src": "4990:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "id": 39681, - "name": "Bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39328, - "src": "4997:3:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - }, - "id": 39682, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4997:5:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - } - ], - "id": 39683, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4996:7:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - ], - "expression": { - "id": 39678, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4979:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39679, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4983:6:14", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4979:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 39684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4979:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "functionReturnParameters": 39655, - "id": 39685, - "nodeType": "Return", - "src": "4972:32:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBids", - "nameLocation": "4693:9:14", - "parameters": { - "id": 39650, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39647, - "mutability": "mutable", - "name": "cond", - "nameLocation": "4710:4:14", - "nodeType": "VariableDeclaration", - "scope": 39687, - "src": "4703:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39646, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4703:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39649, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "4730:9:14", - "nodeType": "VariableDeclaration", - "scope": 39687, - "src": "4716:23:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39648, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4716:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "4702:38:14" - }, - "returnParameters": { - "id": 39655, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39654, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39687, - "src": "4764:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 39652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39651, - "name": "Bid", - "nameLocations": [ - "4764:3:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4764:3:14" - }, - "referencedDeclaration": 39328, - "src": "4764:3:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 39653, - "nodeType": "ArrayTypeName", - "src": "4764:5:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "src": "4763:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39724, - "nodeType": "FunctionDefinition", - "src": "5017:337:14", - "nodes": [], - "body": { - "id": 39723, - "nodeType": "Block", - "src": "5095:259:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 39696, - "name": "isConfidential", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39423, - "src": "5113:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 39697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5113:16:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 39695, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "5105:7:14", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 39698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5105:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39699, - "nodeType": "ExpressionStatement", - "src": "5105:25:14" - }, - { - "assignments": [ - 39701, - 39703 - ], - "declarations": [ - { - "constant": false, - "id": 39701, - "mutability": "mutable", - "name": "success", - "nameLocation": "5146:7:14", - "nodeType": "VariableDeclaration", - "scope": 39723, - "src": "5141:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39700, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5141:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39703, - "mutability": "mutable", - "name": "data", - "nameLocation": "5168:4:14", - "nodeType": "VariableDeclaration", - "scope": 39723, - "src": "5155:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39702, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5155:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39711, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39708, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39690, - "src": "5220:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 39706, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5209:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39707, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5213:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "5209:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39709, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5209:17:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39704, - "name": "FILL_MEV_SHARE_BUNDLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39383, - "src": "5176:21:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5198:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "5176:32:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5176:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5140:87:14" - }, - { - "condition": { - "id": 39713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "5241:8:14", - "subExpression": { - "id": 39712, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39701, - "src": "5242:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39720, - "nodeType": "IfStatement", - "src": "5237:89:14", - "trueBody": { - "id": 39719, - "nodeType": "Block", - "src": "5251:75:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39715, - "name": "FILL_MEV_SHARE_BUNDLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39383, - "src": "5287:21:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39716, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39703, - "src": "5310:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39714, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "5272:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39717, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5272:43:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39718, - "nodeType": "RevertStatement", - "src": "5265:50:14" - } - ] - } - }, - { - "expression": { - "id": 39721, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39703, - "src": "5343:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39694, - "id": 39722, - "nodeType": "Return", - "src": "5336:11:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fillMevShareBundle", - "nameLocation": "5026:18:14", - "parameters": { - "id": 39691, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39690, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5051:5:14", - "nodeType": "VariableDeclaration", - "scope": 39724, - "src": "5045:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39689, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39688, - "name": "BidId", - "nameLocations": [ - "5045:5:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5045:5:14" - }, - "referencedDeclaration": 39311, - "src": "5045:5:14", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5044:13:14" - }, - "returnParameters": { - "id": 39694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39693, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39724, - "src": "5081:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39692, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5081:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5080:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39772, - "nodeType": "FunctionDefinition", - "src": "5360:486:14", - "nodes": [], - "body": { - "id": 39771, - "nodeType": "Block", - "src": "5565:281:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39741, - 39743 - ], - "declarations": [ - { - "constant": false, - "id": 39741, - "mutability": "mutable", - "name": "success", - "nameLocation": "5581:7:14", - "nodeType": "VariableDeclaration", - "scope": 39771, - "src": "5576:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39740, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5576:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39743, - "mutability": "mutable", - "name": "data", - "nameLocation": "5603:4:14", - "nodeType": "VariableDeclaration", - "scope": 39771, - "src": "5590:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39742, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5590:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39754, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39748, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39726, - "src": "5653:19:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 39749, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39729, - "src": "5674:14:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 39750, - "name": "allowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39732, - "src": "5690:13:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 39751, - "name": "bidType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39734, - "src": "5705:7:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 39746, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5642:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5646:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "5642:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5642:71:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39744, - "name": "NEW_BID", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39386, - "src": "5623:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5631:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "5623:18:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5623:91:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5575:139:14" - }, - { - "condition": { - "id": 39756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "5728:8:14", - "subExpression": { - "id": 39755, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39741, - "src": "5729:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39763, - "nodeType": "IfStatement", - "src": "5724:75:14", - "trueBody": { - "id": 39762, - "nodeType": "Block", - "src": "5738:61:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39758, - "name": "NEW_BID", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39386, - "src": "5774:7:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39759, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39743, - "src": "5783:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39757, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "5759:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5759:29:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39761, - "nodeType": "RevertStatement", - "src": "5752:36:14" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 39766, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39743, - "src": "5827:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 39767, - "name": "Bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39328, - "src": "5834:3:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - } - ], - "id": 39768, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "5833:5:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - ], - "expression": { - "id": 39764, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5816:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39765, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5820:6:14", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "5816:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 39769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5816:23:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "functionReturnParameters": 39739, - "id": 39770, - "nodeType": "Return", - "src": "5809:30:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "5369:6:14", - "parameters": { - "id": 39735, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39726, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "5392:19:14", - "nodeType": "VariableDeclaration", - "scope": 39772, - "src": "5385:26:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39725, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5385:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39729, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "5438:14:14", - "nodeType": "VariableDeclaration", - "scope": 39772, - "src": "5421:31:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 39727, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5421:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39728, - "nodeType": "ArrayTypeName", - "src": "5421:9:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39732, - "mutability": "mutable", - "name": "allowedStores", - "nameLocation": "5479:13:14", - "nodeType": "VariableDeclaration", - "scope": 39772, - "src": "5462:30:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 39730, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5462:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39731, - "nodeType": "ArrayTypeName", - "src": "5462:9:14", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39734, - "mutability": "mutable", - "name": "bidType", - "nameLocation": "5516:7:14", - "nodeType": "VariableDeclaration", - "scope": 39772, - "src": "5502:21:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39733, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5502:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5375:154:14" - }, - "returnParameters": { - "id": 39739, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39738, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39772, - "src": "5553:10:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 39737, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39736, - "name": "Bid", - "nameLocations": [ - "5553:3:14" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5553:3:14" - }, - "referencedDeclaration": 39328, - "src": "5553:3:14", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "5552:12:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39815, - "nodeType": "FunctionDefinition", - "src": "5852:422:14", - "nodes": [], - "body": { - "id": 39814, - "nodeType": "Block", - "src": "6012:262:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39784, - 39786 - ], - "declarations": [ - { - "constant": false, - "id": 39784, - "mutability": "mutable", - "name": "success", - "nameLocation": "6028:7:14", - "nodeType": "VariableDeclaration", - "scope": 39814, - "src": "6023:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39783, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6023:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39786, - "mutability": "mutable", - "name": "data", - "nameLocation": "6050:4:14", - "nodeType": "VariableDeclaration", - "scope": 39814, - "src": "6037:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39785, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6037:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39796, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39791, - "name": "txn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39774, - "src": "6101:3:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 39792, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39776, - "src": "6106:7:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 39793, - "name": "signingKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39778, - "src": "6115:10:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 39789, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6090:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39790, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6094:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "6090:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6090:36:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39787, - "name": "SIGN_ETH_TRANSACTION", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39389, - "src": "6058:20:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6079:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "6058:31:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6058:69:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6022:105:14" - }, - { - "condition": { - "id": 39798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "6141:8:14", - "subExpression": { - "id": 39797, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39784, - "src": "6142:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39805, - "nodeType": "IfStatement", - "src": "6137:88:14", - "trueBody": { - "id": 39804, - "nodeType": "Block", - "src": "6151:74:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39800, - "name": "SIGN_ETH_TRANSACTION", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39389, - "src": "6187:20:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39801, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39786, - "src": "6209:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39799, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "6172:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39802, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6172:42:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39803, - "nodeType": "RevertStatement", - "src": "6165:49:14" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 39808, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39786, - "src": "6253:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 39810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6260:5:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 39809, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6260:5:14", - "typeDescriptions": {} - } - } - ], - "id": 39811, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6259:7:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 39806, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6242:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39807, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6246:6:14", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6242:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 39812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6242:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39782, - "id": 39813, - "nodeType": "Return", - "src": "6235:32:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "signEthTransaction", - "nameLocation": "5861:18:14", - "parameters": { - "id": 39779, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39774, - "mutability": "mutable", - "name": "txn", - "nameLocation": "5893:3:14", - "nodeType": "VariableDeclaration", - "scope": 39815, - "src": "5880:16:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39773, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5880:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39776, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "5912:7:14", - "nodeType": "VariableDeclaration", - "scope": 39815, - "src": "5898:21:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39775, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5898:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39778, - "mutability": "mutable", - "name": "signingKey", - "nameLocation": "5935:10:14", - "nodeType": "VariableDeclaration", - "scope": 39815, - "src": "5921:24:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39777, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "5921:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "5879:67:14" - }, - "returnParameters": { - "id": 39782, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39781, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39815, - "src": "5994:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39780, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5994:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5993:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39852, - "nodeType": "FunctionDefinition", - "src": "6280:319:14", - "nodes": [], - "body": { - "id": 39851, - "nodeType": "Block", - "src": "6360:239:14", - "nodes": [], - "statements": [ - { - "assignments": [ - 39823, - 39825 - ], - "declarations": [ - { - "constant": false, - "id": 39823, - "mutability": "mutable", - "name": "success", - "nameLocation": "6376:7:14", - "nodeType": "VariableDeclaration", - "scope": 39851, - "src": "6371:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39822, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6371:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39825, - "mutability": "mutable", - "name": "data", - "nameLocation": "6398:4:14", - "nodeType": "VariableDeclaration", - "scope": 39851, - "src": "6385:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39824, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6385:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39833, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39830, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39817, - "src": "6444:10:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39828, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6433:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39829, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6437:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "6433:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6433:22:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39826, - "name": "SIMULATE_BUNDLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39392, - "src": "6406:15:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39827, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6422:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "6406:26:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6406:50:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6370:86:14" - }, - { - "condition": { - "id": 39835, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "6470:8:14", - "subExpression": { - "id": 39834, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39823, - "src": "6471:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39842, - "nodeType": "IfStatement", - "src": "6466:83:14", - "trueBody": { - "id": 39841, - "nodeType": "Block", - "src": "6480:69:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39837, - "name": "SIMULATE_BUNDLE", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39392, - "src": "6516:15:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39838, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39825, - "src": "6533:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39836, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "6501:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6501:37:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39840, - "nodeType": "RevertStatement", - "src": "6494:44:14" - } - ] - } - }, - { - "expression": { - "arguments": [ - { - "id": 39845, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39825, - "src": "6577:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 39847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6584:6:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 39846, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6584:6:14", - "typeDescriptions": {} - } - } - ], - "id": 39848, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6583:8:14", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 39843, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6566:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39844, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6570:6:14", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6566:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 39849, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6566:26:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 39821, - "id": 39850, - "nodeType": "Return", - "src": "6559:33:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "simulateBundle", - "nameLocation": "6289:14:14", - "parameters": { - "id": 39818, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39817, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "6317:10:14", - "nodeType": "VariableDeclaration", - "scope": 39852, - "src": "6304:23:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39816, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6304:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6303:25:14" - }, - "returnParameters": { - "id": 39821, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39820, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39852, - "src": "6352:6:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39819, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6352:6:14", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6351:8:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39894, - "nodeType": "FunctionDefinition", - "src": "6605:431:14", - "nodes": [], - "body": { - "id": 39893, - "nodeType": "Block", - "src": "6761:275:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 39864, - "name": "isConfidential", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39423, - "src": "6779:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 39865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6779:16:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 39863, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6771:7:14", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 39866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6771:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39867, - "nodeType": "ExpressionStatement", - "src": "6771:25:14" - }, - { - "assignments": [ - 39869, - 39871 - ], - "declarations": [ - { - "constant": false, - "id": 39869, - "mutability": "mutable", - "name": "success", - "nameLocation": "6812:7:14", - "nodeType": "VariableDeclaration", - "scope": 39893, - "src": "6807:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39868, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6807:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39871, - "mutability": "mutable", - "name": "data", - "nameLocation": "6834:4:14", - "nodeType": "VariableDeclaration", - "scope": 39893, - "src": "6821:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39870, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6821:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39881, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39876, - "name": "url", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39854, - "src": "6887:3:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 39877, - "name": "method", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39856, - "src": "6892:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 39878, - "name": "params", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39858, - "src": "6900:6:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39874, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6876:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39875, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6880:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "6876:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6876:31:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39872, - "name": "SUBMIT_BUNDLE_JSON_RPC", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39395, - "src": "6842:22:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6865:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "6842:33:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6842:66:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6806:102:14" - }, - { - "condition": { - "id": 39883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "6922:8:14", - "subExpression": { - "id": 39882, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39869, - "src": "6923:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39890, - "nodeType": "IfStatement", - "src": "6918:90:14", - "trueBody": { - "id": 39889, - "nodeType": "Block", - "src": "6932:76:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39885, - "name": "SUBMIT_BUNDLE_JSON_RPC", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39395, - "src": "6968:22:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39886, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39871, - "src": "6992:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39884, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "6953:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39887, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6953:44:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39888, - "nodeType": "RevertStatement", - "src": "6946:51:14" - } - ] - } - }, - { - "expression": { - "id": 39891, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39871, - "src": "7025:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39862, - "id": 39892, - "nodeType": "Return", - "src": "7018:11:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitBundleJsonRPC", - "nameLocation": "6614:19:14", - "parameters": { - "id": 39859, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39854, - "mutability": "mutable", - "name": "url", - "nameLocation": "6648:3:14", - "nodeType": "VariableDeclaration", - "scope": 39894, - "src": "6634:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39853, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6634:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39856, - "mutability": "mutable", - "name": "method", - "nameLocation": "6667:6:14", - "nodeType": "VariableDeclaration", - "scope": 39894, - "src": "6653:20:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "6653:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39858, - "mutability": "mutable", - "name": "params", - "nameLocation": "6688:6:14", - "nodeType": "VariableDeclaration", - "scope": 39894, - "src": "6675:19:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39857, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6675:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6633:62:14" - }, - "returnParameters": { - "id": 39862, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39861, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39894, - "src": "6743:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39860, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6743:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6742:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 39933, - "nodeType": "FunctionDefinition", - "src": "7042:438:14", - "nodes": [], - "body": { - "id": 39932, - "nodeType": "Block", - "src": "7190:290:14", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 39904, - "name": "isConfidential", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39423, - "src": "7208:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 39905, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7208:16:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 39903, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "7200:7:14", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 39906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7200:25:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39907, - "nodeType": "ExpressionStatement", - "src": "7200:25:14" - }, - { - "assignments": [ - 39909, - 39911 - ], - "declarations": [ - { - "constant": false, - "id": 39909, - "mutability": "mutable", - "name": "success", - "nameLocation": "7241:7:14", - "nodeType": "VariableDeclaration", - "scope": 39932, - "src": "7236:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 39908, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7236:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39911, - "mutability": "mutable", - "name": "data", - "nameLocation": "7263:4:14", - "nodeType": "VariableDeclaration", - "scope": 39932, - "src": "7250:17:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39910, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7250:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 39920, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "id": 39916, - "name": "relayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39896, - "src": "7323:8:14", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 39917, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39898, - "src": "7333:10:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39914, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7312:3:14", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 39915, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7316:6:14", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "7312:10:14", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 39918, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7312:32:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 39912, - "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39398, - "src": "7271:29:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39913, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7301:10:14", - "memberName": "staticcall", - "nodeType": "MemberAccess", - "src": "7271:40:14", - "typeDescriptions": { - "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bool,bytes memory)" - } - }, - "id": 39919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7271:74:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bool,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7235:110:14" - }, - { - "condition": { - "id": 39922, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "7359:8:14", - "subExpression": { - "id": 39921, - "name": "success", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39909, - "src": "7360:7:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 39929, - "nodeType": "IfStatement", - "src": "7355:97:14", - "trueBody": { - "id": 39928, - "nodeType": "Block", - "src": "7369:83:14", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "id": 39924, - "name": "SUBMIT_ETH_BLOCK_BID_TO_RELAY", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39398, - "src": "7405:29:14", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 39925, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39911, - "src": "7436:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 39923, - "name": "PeekerReverted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39309, - "src": "7390:14:14", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 39926, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7390:51:14", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 39927, - "nodeType": "RevertStatement", - "src": "7383:58:14" - } - ] - } - }, - { - "expression": { - "id": 39930, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39911, - "src": "7469:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 39902, - "id": 39931, - "nodeType": "Return", - "src": "7462:11:14" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitEthBlockBidToRelay", - "nameLocation": "7051:24:14", - "parameters": { - "id": 39899, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39896, - "mutability": "mutable", - "name": "relayUrl", - "nameLocation": "7090:8:14", - "nodeType": "VariableDeclaration", - "scope": 39933, - "src": "7076:22:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39895, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "7076:6:14", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39898, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "7113:10:14", - "nodeType": "VariableDeclaration", - "scope": 39933, - "src": "7100:23:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7100:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7075:49:14" - }, - "returnParameters": { - "id": 39902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39901, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39933, - "src": "7172:12:14", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39900, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7172:5:14", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "7171:14:14" - }, - "scope": 39934, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Suave", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 39934 - ], - "name": "Suave", - "nameLocation": "72:5:14", - "scope": 39935, - "usedErrors": [ - 39309 - ] - } - ], - "license": "UNLICENSED" - }, - "id": 14 -} \ No newline at end of file + "bytecode": { + "object": "0x6101bc61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f45760003560e01c8063b61b127d11610096578063c91e11df11610070578063c91e11df14610183578063d91525db1461018e578063f0608b1c14610199578063f6ab3de5146101a457600080fd5b8063b61b127d14610162578063b7817da01461016d578063bc50c0051461017857600080fd5b80637320cb17116100d25780637320cb1714610136578063744795b914610141578063751afe2c1461014c57806394804c691461015757600080fd5b806301c19530146100f9578063040e51831461012057806369094cbc1461012b575b600080fd5b610104634320000181565b6040516001600160a01b03909116815260200160405180910390f35b610104634210000381565b610104634201000181565b610104634203000081565b610104634010000181565b610104634210003781565b610104634210000181565b610104634210000081565b610104634202000081565b610104634210000281565b610104634203000181565b610104634201000081565b610104634300000181565b61010463420200018156fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/SuaveAbi.sol/SuaveAbi.json b/suave/artifacts/SuaveAbi.sol/SuaveAbi.json index 587812aed4..848a77b5c7 100644 --- a/suave/artifacts/SuaveAbi.sol/SuaveAbi.json +++ b/suave/artifacts/SuaveAbi.sol/SuaveAbi.json @@ -423,2137 +423,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b506109c7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a", - "sourceMap": "61:1403:15:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a", - "sourceMap": "61:1403:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:82;;;;;;:::i;:::-;-1:-1:-1;850:6:15;;778:82;;;;-1:-1:-1;;;;;1966:31:20;;;1948:50;;1936:2;1921:18;778:82:15;;;;;;;;865:85;;;;;;:::i;:::-;-1:-1:-1;934:12:15;;865:85;;;;;;;;:::i;1114:122::-;;;;;;:::i;:::-;1220:12;1114:122;;;;;128:175;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1241:86::-;;;;;;:::i;1332:130::-;;;;;;:::i;:::-;1446:12;1332:130;;;;;;412:105;;;;;;:::i;:::-;;;;;;;522:112;;;;;;:::i;305:102::-;;;;;;:::i;:::-;;;;;;;:::i;952:157::-;;;;;;:::i;:::-;1079:12;1093;952:157;;;;;;;;;;;;;;;:::i;128:175::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;283:16:15;128:175;;;;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:20;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:255::-;476:2;470:9;518:6;506:19;;-1:-1:-1;;;;;540:34:20;;576:22;;;537:62;534:88;;;602:18;;:::i;664:275::-;735:2;729:9;800:2;781:13;;-1:-1:-1;;777:27:20;765:40;;-1:-1:-1;;;;;820:34:20;;856:22;;;817:62;814:88;;;882:18;;:::i;:::-;918:2;911:22;664:275;;-1:-1:-1;664:275:20:o;944:530::-;986:5;1039:3;1032:4;1024:6;1020:17;1016:27;1006:55;;1057:1;1054;1047:12;1006:55;1093:6;1080:20;-1:-1:-1;;;;;1115:2:20;1112:26;1109:52;;;1141:18;;:::i;:::-;1185:55;1228:2;1209:13;;-1:-1:-1;;1205:27:20;1234:4;1201:38;1185:55;:::i;:::-;1265:2;1256:7;1249:19;1311:3;1304:4;1299:2;1291:6;1287:15;1283:26;1280:35;1277:55;;;1328:1;1325;1318:12;1277:55;1393:2;1386:4;1378:6;1374:17;1367:4;1358:7;1354:18;1341:55;1441:1;1416:16;;;1434:4;1412:27;1405:38;;;;1420:7;944:530;-1:-1:-1;;;944:530:20:o;1479:320::-;1547:6;1600:2;1588:9;1579:7;1575:23;1571:32;1568:52;;;1616:1;1613;1606:12;1568:52;1656:9;1643:23;-1:-1:-1;;;;;1681:6:20;1678:30;1675:50;;;1721:1;1718;1711:12;1675:50;1744:49;1785:7;1776:6;1765:9;1761:22;1744:49;:::i;2009:422::-;2050:3;2088:5;2082:12;2115:6;2110:3;2103:19;2140:1;2150:162;2164:6;2161:1;2158:13;2150:162;;;2226:4;2282:13;;;2278:22;;2272:29;2254:11;;;2250:20;;2243:59;2179:12;2150:162;;;2154:3;2357:1;2350:4;2341:6;2336:3;2332:16;2328:27;2321:38;2420:4;2413:2;2409:7;2404:2;2396:6;2392:15;2388:29;2383:3;2379:39;2375:50;2368:57;;;2009:422;;;;:::o;2436:217::-;2583:2;2572:9;2565:21;2546:4;2603:44;2643:2;2632:9;2628:18;2620:6;2603:44;:::i;:::-;2595:52;2436:217;-1:-1:-1;;;2436:217:20:o;2658:540::-;2745:6;2753;2806:2;2794:9;2785:7;2781:23;2777:32;2774:52;;;2822:1;2819;2812:12;2774:52;2862:9;2849:23;-1:-1:-1;;;;;2932:2:20;2924:6;2921:14;2918:34;;;2948:1;2945;2938:12;2918:34;2971:49;3012:7;3003:6;2992:9;2988:22;2971:49;:::i;:::-;2961:59;;3073:2;3062:9;3058:18;3045:32;3029:48;;3102:2;3092:8;3089:16;3086:36;;;3118:1;3115;3108:12;3086:36;;3141:51;3184:7;3173:8;3162:9;3158:24;3141:51;:::i;:::-;3131:61;;;2658:540;;;;;:::o;3203:171::-;3270:20;;-1:-1:-1;;;;;3319:30:20;;3309:41;;3299:69;;3364:1;3361;3354:12;3299:69;3203:171;;;:::o;3379:183::-;3439:4;-1:-1:-1;;;;;3464:6:20;3461:30;3458:56;;;3494:18;;:::i;:::-;-1:-1:-1;3539:1:20;3535:14;3551:4;3531:25;;3379:183::o;3567:173::-;3635:20;;-1:-1:-1;;;;;3684:31:20;;3674:42;;3664:70;;3730:1;3727;3720:12;3745:668;3799:5;3852:3;3845:4;3837:6;3833:17;3829:27;3819:55;;3870:1;3867;3860:12;3819:55;3906:6;3893:20;3932:4;3956:60;3972:43;4012:2;3972:43;:::i;:::-;3956:60;:::i;:::-;4050:15;;;4136:1;4132:10;;;;4120:23;;4116:32;;;4081:12;;;;4160:15;;;4157:35;;;4188:1;4185;4178:12;4157:35;4224:2;4216:6;4212:15;4236:148;4252:6;4247:3;4244:15;4236:148;;;4318:23;4337:3;4318:23;:::i;:::-;4306:36;;4362:12;;;;4269;;4236:148;;;-1:-1:-1;4402:5:20;3745:668;-1:-1:-1;;;;;;3745:668:20:o;4418:867::-;4563:6;4571;4579;4587;4640:3;4628:9;4619:7;4615:23;4611:33;4608:53;;;4657:1;4654;4647:12;4608:53;4680:28;4698:9;4680:28;:::i;:::-;4670:38;;4759:2;4748:9;4744:18;4731:32;-1:-1:-1;;;;;4823:2:20;4815:6;4812:14;4809:34;;;4839:1;4836;4829:12;4809:34;4862:61;4915:7;4906:6;4895:9;4891:22;4862:61;:::i;:::-;4852:71;;4976:2;4965:9;4961:18;4948:32;4932:48;;5005:2;4995:8;4992:16;4989:36;;;5021:1;5018;5011:12;4989:36;5044:63;5099:7;5088:8;5077:9;5073:24;5044:63;:::i;:::-;5034:73;;5160:2;5149:9;5145:18;5132:32;5116:48;;5189:2;5179:8;5176:16;5173:36;;;5205:1;5202;5195:12;5173:36;;5228:51;5271:7;5260:8;5249:9;5245:24;5228:51;:::i;:::-;5218:61;;;4418:867;;;;;;;:::o;5290:461::-;5343:3;5381:5;5375:12;5408:6;5403:3;5396:19;5434:4;5463:2;5458:3;5454:12;5447:19;;5500:2;5493:5;5489:14;5521:1;5531:195;5545:6;5542:1;5539:13;5531:195;;;5610:13;;-1:-1:-1;;;;;5606:39:20;5594:52;;5666:12;;;;5701:15;;;;5642:1;5560:9;5531:195;;;-1:-1:-1;5742:3:20;;5290:461;-1:-1:-1;;;;;5290:461:20:o;5756:809::-;5802:3;5834:34;5830:39;5908:2;5900:5;5894:12;5890:21;5885:3;5878:34;5973:2;5965:4;5958:5;5954:16;5948:23;5944:32;5937:4;5932:3;5928:14;5921:56;;-1:-1:-1;;;;;6030:4:20;6023:5;6019:16;6013:23;6009:48;6002:4;5997:3;5993:14;5986:72;6104:4;6097:5;6093:16;6087:23;6142:4;6135;6130:3;6126:14;6119:28;6168:58;6220:4;6215:3;6211:14;6197:12;6168:58;:::i;:::-;6156:70;;6274:4;6267:5;6263:16;6257:23;6322:3;6316:4;6312:14;6305:4;6300:3;6296:14;6289:38;6350:50;6395:4;6379:14;6350:50;:::i;:::-;6336:64;;;6448:4;6441:5;6437:16;6431:23;6498:3;6490:6;6486:16;6479:4;6474:3;6470:14;6463:40;6519;6552:6;6536:14;6519:40;:::i;:::-;6512:47;5756:809;-1:-1:-1;;;;;5756:809:20:o;6570:248::-;6743:2;6732:9;6725:21;6706:4;6763:49;6808:2;6797:9;6793:18;6785:6;6763:49;:::i;6823:212::-;6910:20;;-1:-1:-1;;6959:51:20;;6949:62;;6939:90;;7025:1;7022;7015:12;7040:232;7126:6;7179:2;7167:9;7158:7;7154:23;7150:32;7147:52;;;7195:1;7192;7185:12;7147:52;7218:48;7256:9;7218:48;:::i;7277:739::-;7383:6;7391;7399;7452:2;7440:9;7431:7;7427:23;7423:32;7420:52;;;7468:1;7465;7458:12;7420:52;7508:9;7495:23;-1:-1:-1;;;;;7578:2:20;7570:6;7567:14;7564:34;;;7594:1;7591;7584:12;7564:34;7617:49;7658:7;7649:6;7638:9;7634:22;7617:49;:::i;:::-;7607:59;;7719:2;7708:9;7704:18;7691:32;7675:48;;7748:2;7738:8;7735:16;7732:36;;;7764:1;7761;7754:12;7732:36;7787:51;7830:7;7819:8;7808:9;7804:24;7787:51;:::i;:::-;7777:61;;7891:2;7880:9;7876:18;7863:32;7847:48;;7920:2;7910:8;7907:16;7904:36;;;7936:1;7933;7926:12;7904:36;;7959:51;8002:7;7991:8;7980:9;7976:24;7959:51;:::i;:::-;7949:61;;;7277:739;;;;;:::o;8021:660::-;8144:6;8152;8160;8213:2;8201:9;8192:7;8188:23;8184:32;8181:52;;;8229:1;8226;8219:12;8181:52;8252:48;8290:9;8252:48;:::i;:::-;8242:58;;8351:2;8340:9;8336:18;8323:32;-1:-1:-1;;;;;8415:2:20;8407:6;8404:14;8401:34;;;8431:1;8428;8421:12;8686:441;8791:6;8799;8852:2;8840:9;8831:7;8827:23;8823:32;8820:52;;;8868:1;8865;8858:12;8820:52;8891:48;8929:9;8891:48;:::i;:::-;8881:58;;8990:2;8979:9;8975:18;8962:32;-1:-1:-1;;;;;9009:6:20;9006:30;9003:50;;;9049:1;9046;9039:12;9003:50;9072:49;9113:7;9104:6;9093:9;9089:22;9072:49;:::i;9132:393::-;9209:6;9217;9270:2;9258:9;9249:7;9245:23;9241:32;9238:52;;;9286:1;9283;9276:12;9238:52;9309:28;9327:9;9309:28;:::i;9530:831::-;9716:4;9745:2;9785;9774:9;9770:18;9815:2;9804:9;9797:21;9838:6;9873;9867:13;9904:6;9896;9889:22;9942:2;9931:9;9927:18;9920:25;;10004:2;9994:6;9991:1;9987:14;9976:9;9972:30;9968:39;9954:53;;10042:2;10034:6;10030:15;10063:1;10073:259;10087:6;10084:1;10081:13;10073:259;;;10180:2;10176:7;10164:9;10156:6;10152:22;10148:36;10143:3;10136:49;10208:44;10245:6;10236;10230:13;10208:44;:::i;:::-;10198:54;-1:-1:-1;10310:12:20;;;;10275:15;;;;10109:1;10102:9;10073:259;;;-1:-1:-1;10349:6:20;;9530:831;-1:-1:-1;;;;;;;9530:831:20:o;10366:1142::-;10430:5;10483:3;10476:4;10468:6;10464:17;10460:27;10450:55;;10501:1;10498;10491:12;10450:55;10537:6;10524:20;10563:4;10587:60;10603:43;10643:2;10603:43;:::i;10587:60::-;10681:15;;;10767:1;10763:10;;;;10751:23;;10747:32;;;10712:12;;;;10791:15;;;10788:35;;;10819:1;10816;10809:12;10788:35;10855:2;10847:6;10843:15;10867:612;10883:6;10878:3;10875:15;10867:612;;;10961:4;10955:3;10950;10946:13;10942:24;10939:114;;;11007:1;11036:2;11032;11025:14;10939:114;11079:22;;:::i;:::-;11128;11146:3;11128:22;:::i;:::-;11121:5;11114:37;11187:31;11214:2;11209:3;11205:12;11187:31;:::i;:::-;11182:2;11175:5;11171:14;11164:55;11242:2;11280:32;11308:2;11303:3;11299:12;11280:32;:::i;:::-;11264:14;;;11257:56;11336:2;11374:31;11392:12;;;11374:31;:::i;:::-;11358:14;;;11351:55;11419:18;;11457:12;;;;10909:4;10900:14;10867:612;;11513:1508;11660:6;11668;11676;11729:2;11717:9;11708:7;11704:23;11700:32;11697:52;;;11745:1;11742;11735:12;11697:52;11785:9;11772:23;-1:-1:-1;;;;;11855:2:20;11847:6;11844:14;11841:34;;;11871:1;11868;11861:12;11841:34;11894:22;;;;11950:6;11932:16;;;11928:29;11925:49;;;11970:1;11967;11960:12;11925:49;11996:22;;:::i;:::-;12041:21;12059:2;12041:21;:::i;:::-;12034:5;12027:36;12109:2;12105;12101:11;12088:25;12138:2;12128:8;12125:16;12122:36;;;12154:1;12151;12144:12;12122:36;12190:44;12226:7;12215:8;12211:2;12207:17;12190:44;:::i;:::-;12185:2;12178:5;12174:14;12167:68;;12288:2;12284;12280:11;12267:25;12262:2;12255:5;12251:14;12244:49;12325:30;12351:2;12347;12343:11;12325:30;:::i;:::-;12320:2;12313:5;12309:14;12302:54;12389:32;12416:3;12412:2;12408:12;12389:32;:::i;:::-;12383:3;12376:5;12372:15;12365:57;12455:31;12481:3;12477:2;12473:12;12455:31;:::i;:::-;12449:3;12442:5;12438:15;12431:56;12541:3;12537:2;12533:12;12520:26;12514:3;12507:5;12503:15;12496:51;12593:3;12589:2;12585:12;12572:26;12623:2;12613:8;12610:16;12607:36;;;12639:1;12636;12629:12;12607:36;12676:66;12734:7;12723:8;12719:2;12715:17;12676:66;:::i;:::-;12670:3;12659:15;;12652:91;-1:-1:-1;12663:5:20;-1:-1:-1;12786:57:20;12839:2;12824:18;;12786:57;:::i;13026:377::-;13219:2;13208:9;13201:21;13182:4;13245:44;13285:2;13274:9;13270:18;13262:6;13245:44;:::i;:::-;13337:9;13329:6;13325:22;13320:2;13309:9;13305:18;13298:50;13365:32;13390:6;13382;13365:32;:::i", - "linkReferences": {} + "object": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a" }, - "methodIdentifiers": { - "buildEthBlock((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),bytes16,string)": "bd5bcdf3", - "confidentialStoreRetrieve(bytes16,string)": "ae9a6040", - "confidentialStoreStore(bytes16,string,bytes)": "a90a6c5f", - "extractHint(bytes)": "20f16c3e", - "fetchBids(uint64,string)": "b2c1714c", - "fillMevShareBundle(bytes16)": "8735d617", - "newBid(uint64,address[],address[],string)": "4f563141", - "signEthTransaction(bytes,string,string)": "fb4f1e0d", - "simulateBundle(bytes)": "023e8e2f", - "submitBundleJsonRPC(string,string,bytes)": "92649e7d", - "submitEthBlockBidToRelay(string,bytes)": "37a5686a" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"Suave.BidId\",\"name\":\"bid\",\"type\":\"bytes16\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"buildEthBlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"}],\"name\":\"confidentialStoreRetrieve\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"confidentialStoreStore\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"bundleData\",\"type\":\"bytes\"}],\"name\":\"extractHint\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"cond\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"fetchBids\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"}],\"name\":\"fillMevShareBundle\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"BidType\",\"type\":\"string\"}],\"name\":\"newBid\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"txn\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"chainId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"signingKey\",\"type\":\"string\"}],\"name\":\"signEthTransaction\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"bundleData\",\"type\":\"bytes\"}],\"name\":\"simulateBundle\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"method\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"submitBundleJsonRPC\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"relayUrl\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"submitEthBlockBidToRelay\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/SuaveAbi.sol\":\"SuaveAbi\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveAbi.sol\":{\"keccak256\":\"0xc9af6110881152b55775bc398943500122ad6854dee2c5bfc4c830c06484f058\",\"urls\":[\"bzz-raw://cfff102664493202b1e0702d3c41a00fc2b5b26ea330f2b124e6f661ba78480b\",\"dweb:/ipfs/QmYhqyWSQ4Pd1NBGp7xHxnzrw6FAMdaARFtNckUzqh1tJC\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "Suave.BidId", - "name": "bid", - "type": "bytes16" - }, - { - "internalType": "string", - "name": "namespace", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "buildEthBlock", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16" - }, - { - "internalType": "string", - "name": "key", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "confidentialStoreRetrieve", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16" - }, - { - "internalType": "string", - "name": "key", - "type": "string" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "confidentialStoreStore" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "bundleData", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "extractHint", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "cond", - "type": "uint64" - }, - { - "internalType": "string", - "name": "namespace", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "fetchBids", - "outputs": [ - { - "internalType": "struct Suave.Bid[]", - "name": "", - "type": "tuple[]", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16" - } - ], - "stateMutability": "view", - "type": "function", - "name": "fillMevShareBundle", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "BidType", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "newBid", - "outputs": [ - { - "internalType": "struct Suave.Bid", - "name": "", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "txn", - "type": "bytes" - }, - { - "internalType": "string", - "name": "chainId", - "type": "string" - }, - { - "internalType": "string", - "name": "signingKey", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "signEthTransaction", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "bundleData", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "simulateBundle", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "url", - "type": "string" - }, - { - "internalType": "string", - "name": "method", - "type": "string" - }, - { - "internalType": "bytes", - "name": "params", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "submitBundleJsonRPC", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "string", - "name": "relayUrl", - "type": "string" - }, - { - "internalType": "bytes", - "name": "builderBid", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "submitEthBlockBidToRelay", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/libraries/SuaveAbi.sol": "SuaveAbi" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/libraries/SuaveAbi.sol": { - "keccak256": "0xc9af6110881152b55775bc398943500122ad6854dee2c5bfc4c830c06484f058", - "urls": [ - "bzz-raw://cfff102664493202b1e0702d3c41a00fc2b5b26ea330f2b124e6f661ba78480b", - "dweb:/ipfs/QmYhqyWSQ4Pd1NBGp7xHxnzrw6FAMdaARFtNckUzqh1tJC" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/libraries/SuaveAbi.sol", - "id": 40072, - "exportedSymbols": { - "Suave": [ - 39934 - ], - "SuaveAbi": [ - 40071 - ] - }, - "nodeType": "SourceUnit", - "src": "0:1465:15", - "nodes": [ - { - "id": 39936, - "nodeType": "PragmaDirective", - "src": "0:23:15", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 39938, - "nodeType": "ImportDirective", - "src": "25:34:15", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "./Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 40072, - "sourceUnit": 39935, - "symbolAliases": [ - { - "foreign": { - "id": 39937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "33:5:15", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 40071, - "nodeType": "ContractDefinition", - "src": "61:1403:15", - "nodes": [ - { - "id": 39944, - "nodeType": "ErrorDefinition", - "src": "85:37:15", - "nodes": [], - "errorSelector": "75fff467", - "name": "PeekerReverted", - "nameLocation": "91:14:15", - "parameters": { - "id": 39943, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39940, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39944, - "src": "106:7:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 39939, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "106:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39942, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39944, - "src": "115:5:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39941, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "115:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "105:16:15" - } - }, - { - "id": 39961, - "nodeType": "FunctionDefinition", - "src": "128:175:15", - "nodes": [], - "body": { - "id": 39960, - "nodeType": "Block", - "src": "301:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "4f563141", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "137:6:15", - "parameters": { - "id": 39955, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39946, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "151:19:15", - "nodeType": "VariableDeclaration", - "scope": 39961, - "src": "144:26:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39945, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "144:6:15", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39949, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "189:14:15", - "nodeType": "VariableDeclaration", - "scope": 39961, - "src": "172:31:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 39947, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "172:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39948, - "nodeType": "ArrayTypeName", - "src": "172:9:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39952, - "mutability": "mutable", - "name": "allowedStores", - "nameLocation": "222:13:15", - "nodeType": "VariableDeclaration", - "scope": 39961, - "src": "205:30:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 39950, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "205:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 39951, - "nodeType": "ArrayTypeName", - "src": "205:9:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39954, - "mutability": "mutable", - "name": "BidType", - "nameLocation": "251:7:15", - "nodeType": "VariableDeclaration", - "scope": 39961, - "src": "237:21:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39953, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "237:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "143:116:15" - }, - "returnParameters": { - "id": 39959, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39958, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39961, - "src": "283:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 39957, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39956, - "name": "Suave.Bid", - "nameLocations": [ - "283:5:15", - "289:3:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "283:9:15" - }, - "referencedDeclaration": 39328, - "src": "283:9:15", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "282:18:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 39973, - "nodeType": "FunctionDefinition", - "src": "305:102:15", - "nodes": [], - "body": { - "id": 39972, - "nodeType": "Block", - "src": "405:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "b2c1714c", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBids", - "nameLocation": "314:9:15", - "parameters": { - "id": 39966, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39963, - "mutability": "mutable", - "name": "cond", - "nameLocation": "331:4:15", - "nodeType": "VariableDeclaration", - "scope": 39973, - "src": "324:11:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 39962, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "324:6:15", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39965, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "351:9:15", - "nodeType": "VariableDeclaration", - "scope": 39973, - "src": "337:23:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39964, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "337:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "323:38:15" - }, - "returnParameters": { - "id": 39971, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39970, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39973, - "src": "385:18:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 39968, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39967, - "name": "Suave.Bid", - "nameLocations": [ - "385:5:15", - "391:3:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "385:9:15" - }, - "referencedDeclaration": 39328, - "src": "385:9:15", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 39969, - "nodeType": "ArrayTypeName", - "src": "385:11:15", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "src": "384:20:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 39984, - "nodeType": "FunctionDefinition", - "src": "412:105:15", - "nodes": [], - "body": { - "id": 39983, - "nodeType": "Block", - "src": "515:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "a90a6c5f", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreStore", - "nameLocation": "421:22:15", - "parameters": { - "id": 39981, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39976, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "456:5:15", - "nodeType": "VariableDeclaration", - "scope": 39984, - "src": "444:17:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39975, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39974, - "name": "Suave.BidId", - "nameLocations": [ - "444:5:15", - "450:5:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "444:11:15" - }, - "referencedDeclaration": 39311, - "src": "444:11:15", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39978, - "mutability": "mutable", - "name": "key", - "nameLocation": "477:3:15", - "nodeType": "VariableDeclaration", - "scope": 39984, - "src": "463:17:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39977, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "463:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39980, - "mutability": "mutable", - "name": "data", - "nameLocation": "495:4:15", - "nodeType": "VariableDeclaration", - "scope": 39984, - "src": "482:17:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39979, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "482:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "443:57:15" - }, - "returnParameters": { - "id": 39982, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 39995, - "nodeType": "FunctionDefinition", - "src": "522:112:15", - "nodes": [], - "body": { - "id": 39994, - "nodeType": "Block", - "src": "632:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "ae9a6040", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreRetrieve", - "nameLocation": "531:25:15", - "parameters": { - "id": 39990, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39987, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "569:5:15", - "nodeType": "VariableDeclaration", - "scope": 39995, - "src": "557:17:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 39986, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 39985, - "name": "Suave.BidId", - "nameLocations": [ - "557:5:15", - "563:5:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "557:11:15" - }, - "referencedDeclaration": 39311, - "src": "557:11:15", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39989, - "mutability": "mutable", - "name": "key", - "nameLocation": "590:3:15", - "nodeType": "VariableDeclaration", - "scope": 39995, - "src": "576:17:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39988, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "576:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "556:38:15" - }, - "returnParameters": { - "id": 39993, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39992, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 39995, - "src": "618:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39991, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "618:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "617:14:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40007, - "nodeType": "FunctionDefinition", - "src": "639:134:15", - "nodes": [], - "body": { - "id": 40006, - "nodeType": "Block", - "src": "771:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "fb4f1e0d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "signEthTransaction", - "nameLocation": "648:18:15", - "parameters": { - "id": 40002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 39997, - "mutability": "mutable", - "name": "txn", - "nameLocation": "680:3:15", - "nodeType": "VariableDeclaration", - "scope": 40007, - "src": "667:16:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 39996, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "667:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 39999, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "699:7:15", - "nodeType": "VariableDeclaration", - "scope": 40007, - "src": "685:21:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 39998, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "685:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40001, - "mutability": "mutable", - "name": "signingKey", - "nameLocation": "722:10:15", - "nodeType": "VariableDeclaration", - "scope": 40007, - "src": "708:24:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40000, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "708:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "666:67:15" - }, - "returnParameters": { - "id": 40005, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40004, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40007, - "src": "757:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40003, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "757:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "756:14:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40015, - "nodeType": "FunctionDefinition", - "src": "778:82:15", - "nodes": [], - "body": { - "id": 40014, - "nodeType": "Block", - "src": "858:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "023e8e2f", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "simulateBundle", - "nameLocation": "787:14:15", - "parameters": { - "id": 40010, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40009, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "815:10:15", - "nodeType": "VariableDeclaration", - "scope": 40015, - "src": "802:23:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40008, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "802:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "801:25:15" - }, - "returnParameters": { - "id": 40013, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40012, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40015, - "src": "850:6:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40011, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "850:6:15", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "849:8:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40023, - "nodeType": "FunctionDefinition", - "src": "865:85:15", - "nodes": [], - "body": { - "id": 40022, - "nodeType": "Block", - "src": "948:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "20f16c3e", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "extractHint", - "nameLocation": "874:11:15", - "parameters": { - "id": 40018, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40017, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "899:10:15", - "nodeType": "VariableDeclaration", - "scope": 40023, - "src": "886:23:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40016, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "886:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "885:25:15" - }, - "returnParameters": { - "id": 40021, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40020, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40023, - "src": "934:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40019, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "934:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "933:14:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40039, - "nodeType": "FunctionDefinition", - "src": "952:157:15", - "nodes": [], - "body": { - "id": 40038, - "nodeType": "Block", - "src": "1107:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "bd5bcdf3", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildEthBlock", - "nameLocation": "961:13:15", - "parameters": { - "id": 40032, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40026, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "1003:9:15", - "nodeType": "VariableDeclaration", - "scope": 40039, - "src": "975:37:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 40025, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40024, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "975:5:15", - "981:14:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "975:20:15" - }, - "referencedDeclaration": 39347, - "src": "975:20:15", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40029, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1026:3:15", - "nodeType": "VariableDeclaration", - "scope": 40039, - "src": "1014:15:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40028, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40027, - "name": "Suave.BidId", - "nameLocations": [ - "1014:5:15", - "1020:5:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "1014:11:15" - }, - "referencedDeclaration": 39311, - "src": "1014:11:15", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40031, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "1045:9:15", - "nodeType": "VariableDeclaration", - "scope": 40039, - "src": "1031:23:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40030, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1031:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "974:81:15" - }, - "returnParameters": { - "id": 40037, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40034, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40039, - "src": "1079:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40033, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1079:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40036, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40039, - "src": "1093:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40035, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1093:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1078:28:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40049, - "nodeType": "FunctionDefinition", - "src": "1114:122:15", - "nodes": [], - "body": { - "id": 40048, - "nodeType": "Block", - "src": "1234:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "37a5686a", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitEthBlockBidToRelay", - "nameLocation": "1123:24:15", - "parameters": { - "id": 40044, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40041, - "mutability": "mutable", - "name": "relayUrl", - "nameLocation": "1162:8:15", - "nodeType": "VariableDeclaration", - "scope": 40049, - "src": "1148:22:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40040, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1148:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40043, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "1185:10:15", - "nodeType": "VariableDeclaration", - "scope": 40049, - "src": "1172:23:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40042, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1172:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1147:49:15" - }, - "returnParameters": { - "id": 40047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40046, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40049, - "src": "1220:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1220:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1219:14:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40058, - "nodeType": "FunctionDefinition", - "src": "1241:86:15", - "nodes": [], - "body": { - "id": 40057, - "nodeType": "Block", - "src": "1325:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "8735d617", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fillMevShareBundle", - "nameLocation": "1250:18:15", - "parameters": { - "id": 40053, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40052, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "1281:5:15", - "nodeType": "VariableDeclaration", - "scope": 40058, - "src": "1269:17:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40051, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40050, - "name": "Suave.BidId", - "nameLocations": [ - "1269:5:15", - "1275:5:15" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "1269:11:15" - }, - "referencedDeclaration": 39311, - "src": "1269:11:15", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "1268:19:15" - }, - "returnParameters": { - "id": 40056, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40055, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40058, - "src": "1311:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1311:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1310:14:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - }, - { - "id": 40070, - "nodeType": "FunctionDefinition", - "src": "1332:130:15", - "nodes": [], - "body": { - "id": 40069, - "nodeType": "Block", - "src": "1460:2:15", - "nodes": [], - "statements": [] - }, - "functionSelector": "92649e7d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitBundleJsonRPC", - "nameLocation": "1341:19:15", - "parameters": { - "id": 40065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40060, - "mutability": "mutable", - "name": "url", - "nameLocation": "1375:3:15", - "nodeType": "VariableDeclaration", - "scope": 40070, - "src": "1361:17:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40059, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1361:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40062, - "mutability": "mutable", - "name": "method", - "nameLocation": "1394:6:15", - "nodeType": "VariableDeclaration", - "scope": 40070, - "src": "1380:20:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40061, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1380:6:15", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40064, - "mutability": "mutable", - "name": "params", - "nameLocation": "1415:6:15", - "nodeType": "VariableDeclaration", - "scope": 40070, - "src": "1402:19:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40063, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1402:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1360:62:15" - }, - "returnParameters": { - "id": 40068, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40067, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40070, - "src": "1446:12:15", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40066, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1446:5:15", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1445:14:15" - }, - "scope": 40071, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "SuaveAbi", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40071 - ], - "name": "SuaveAbi", - "nameLocation": "70:8:15", - "scope": 40072, - "usedErrors": [ - 39944 - ] - } - ] - }, - "id": 15 -} \ No newline at end of file + "bytecode": { + "object": "0x608060405234801561001057600080fd5b506109c7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806392649e7d1161007157806392649e7d14610144578063a90a6c5f1461015b578063ae9a604014610170578063b2c1714c1461017e578063bd5bcdf314610199578063fb4f1e0d1461014457600080fd5b8063023e8e2f146100ae57806320f16c3e146100df57806337a5686a146101005780634f563141146101165780638735d61714610136575b600080fd5b6100c26100bc3660046102fa565b50600090565b6040516001600160401b0390911681526020015b60405180910390f35b6100f36100ed3660046102fa565b50606090565b6040516100d69190610374565b6100f361010e36600461038e565b606092915050565b6101296101243660046104b9565b6101c0565b6040516100d69190610624565b6100f36100ed366004610658565b6100f3610152366004610673565b60609392505050565b61016e6101693660046106fa565b505050565b005b6100f361010e366004610734565b61018c61010e366004610777565b6040516100d69190610793565b6101b26101a73660046108a4565b606080935093915050565b6040516100d6929190610995565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a08201525b949350505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715610232576102326101fa565b60405290565b60405161010081016001600160401b0381118282101715610232576102326101fa565b604051601f8201601f191681016001600160401b0381118282101715610283576102836101fa565b604052919050565b600082601f83011261029c57600080fd5b81356001600160401b038111156102b5576102b56101fa565b6102c8601f8201601f191660200161025b565b8181528460208386010111156102dd57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561030c57600080fd5b81356001600160401b0381111561032257600080fd5b6101f28482850161028b565b6000815180845260005b8181101561035457602081850181015186830182015201610338565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610387602083018461032e565b9392505050565b600080604083850312156103a157600080fd5b82356001600160401b03808211156103b857600080fd5b6103c48683870161028b565b935060208501359150808211156103da57600080fd5b506103e78582860161028b565b9150509250929050565b80356001600160401b038116811461040857600080fd5b919050565b60006001600160401b03821115610426576104266101fa565b5060051b60200190565b80356001600160a01b038116811461040857600080fd5b600082601f83011261045857600080fd5b8135602061046d6104688361040d565b61025b565b82815260059290921b8401810191818101908684111561048c57600080fd5b8286015b848110156104ae576104a181610430565b8352918301918301610490565b509695505050505050565b600080600080608085870312156104cf57600080fd5b6104d8856103f1565b935060208501356001600160401b03808211156104f457600080fd5b61050088838901610447565b9450604087013591508082111561051657600080fd5b61052288838901610447565b9350606087013591508082111561053857600080fd5b506105458782880161028b565b91505092959194509250565b600081518084526020808501945080840160005b8381101561058a5781516001600160a01b031687529582019590820190600101610565565b509495945050505050565b60006fffffffffffffffffffffffffffffffff19808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526105e860c0850182610551565b9050608083015184820360808601526106018282610551565b91505060a083015184820360a086015261061b828261032e565b95945050505050565b6020815260006103876020830184610595565b80356fffffffffffffffffffffffffffffffff198116811461040857600080fd5b60006020828403121561066a57600080fd5b61038782610637565b60008060006060848603121561068857600080fd5b83356001600160401b038082111561069f57600080fd5b6106ab8783880161028b565b945060208601359150808211156106c157600080fd5b6106cd8783880161028b565b935060408601359150808211156106e357600080fd5b506106f08682870161028b565b9150509250925092565b60008060006060848603121561070f57600080fd5b61071884610637565b925060208401356001600160401b03808211156106c157600080fd5b6000806040838503121561074757600080fd5b61075083610637565b915060208301356001600160401b0381111561076b57600080fd5b6103e78582860161028b565b6000806040838503121561078a57600080fd5b610750836103f1565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156107e857603f198886030184526107d6858351610595565b945092850192908501906001016107ba565b5092979650505050505050565b600082601f83011261080657600080fd5b813560206108166104688361040d565b82815260079290921b8401810191818101908684111561083557600080fd5b8286015b848110156104ae57608081890312156108525760008081fd5b61085a610210565b610863826103f1565b81526108708583016103f1565b858201526040610881818401610430565b9082015260606108928382016103f1565b90820152835291830191608001610839565b6000806000606084860312156108b957600080fd5b83356001600160401b03808211156108d057600080fd5b9085019061010082880312156108e557600080fd5b6108ed610238565b6108f6836103f1565b815260208301358281111561090a57600080fd5b6109168982860161028b565b60208301525060408301356040820152610932606084016103f1565b606082015261094360808401610430565b608082015261095460a084016103f1565b60a082015260c083013560c082015260e08301358281111561097557600080fd5b610981898286016107f5565b60e08301525094506106cd60208701610637565b6040815260006109a8604083018561032e565b828103602084015261061b818561032e56fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/SuaveForge.sol/SuaveForge.json b/suave/artifacts/SuaveForge.sol/SuaveForge.json index cc5b9dcdd8..3c4f4dc33a 100644 --- a/suave/artifacts/SuaveForge.sol/SuaveForge.json +++ b/suave/artifacts/SuaveForge.sol/SuaveForge.json @@ -20,6959 +20,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x61042f61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a", - "sourceMap": "199:4645:16:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;199:4645:16;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a", - "sourceMap": "199:4645:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;674:463;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;732:13;757:22;792:6;:13;808:1;792:17;;;;:::i;:::-;782:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;782:28:16;-1:-1:-1;821:39:16;;;;;;;;;;;;-1:-1:-1;;;821:39:16;;;;757:53;;-1:-1:-1;821:18:16;871:201;895:6;:13;891:1;:17;871:201;;;948:5;973;:12;960:6;967:1;960:9;;;;;;;;:::i;:::-;;;;;954:31;;;960:9;;954:31;:::i;:::-;948:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;948:38:16;929:9;939:5;:1;943;939:5;:::i;:::-;929:16;;;;;;;;:::i;:::-;;;;:57;-1:-1:-1;;;;;929:57:16;;;;;;;;;1023:5;1048;:12;1035:6;1042:1;1035:9;;;;;;;;:::i;:::-;;;;;1029:31;;;1035:9;;1029:31;:::i;:::-;1023:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;1023:38:16;1000:9;1010:5;:1;1014;1010:5;:::i;:::-;:9;;1018:1;1010:9;:::i;:::-;1000:20;;;;;;;;:::i;:::-;;;;:61;-1:-1:-1;;;;;1000:61:16;;;;;;;;-1:-1:-1;910:3:16;;;;:::i;:::-;;;;871:201;;;;1119:9;1096:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;1082:48;;;;674:463;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:921;214:6;267:2;255:9;246:7;242:23;238:32;235:52;;;283:1;280;273:12;235:52;323:9;310:23;352:18;393:2;385:6;382:14;379:34;;;409:1;406;399:12;379:34;447:6;436:9;432:22;422:32;;492:7;485:4;481:2;477:13;473:27;463:55;;514:1;511;504:12;463:55;550:2;537:16;572:2;568;565:10;562:36;;;578:18;;:::i;:::-;653:2;647:9;621:2;707:13;;-1:-1:-1;;703:22:20;;;727:2;699:31;695:40;683:53;;;751:18;;;771:22;;;748:46;745:72;;;797:18;;:::i;:::-;837:10;833:2;826:22;872:2;864:6;857:18;912:7;907:2;902;898;894:11;890:20;887:33;884:53;;;933:1;930;923:12;884:53;989:2;984;980;976:11;971:2;963:6;959:15;946:46;1034:1;1012:15;;;1029:2;1008:24;1001:35;;;;-1:-1:-1;1016:6:20;146:921;-1:-1:-1;;;;;146:921:20:o;1072:250::-;1157:1;1167:113;1181:6;1178:1;1175:13;1167:113;;;1257:11;;;1251:18;1238:11;;;1231:39;1203:2;1196:10;1167:113;;;-1:-1:-1;;1314:1:20;1296:16;;1289:27;1072:250::o;1327:404::-;1484:2;1473:9;1466:21;1447:4;1516:6;1510:13;1559:6;1554:2;1543:9;1539:18;1532:34;1575:79;1647:6;1642:2;1631:9;1627:18;1622:2;1614:6;1610:15;1575:79;:::i;:::-;1715:2;1694:15;-1:-1:-1;;1690:29:20;1675:45;;;;1722:2;1671:54;;1327:404;-1:-1:-1;;1327:404:20:o;1736:127::-;1797:10;1792:3;1788:20;1785:1;1778:31;1828:4;1825:1;1818:15;1852:4;1849:1;1842:15;1868:168;1941:9;;;1972;;1989:15;;;1983:22;;1969:37;1959:71;;2010:18;;:::i;:::-;1868:168;;;;:::o;2041:127::-;2102:10;2097:3;2093:20;2090:1;2083:31;2133:4;2130:1;2123:15;2157:4;2154:1;2147:15;2173:127;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:120;2345:1;2371;2361:35;;2376:18;;:::i;:::-;-1:-1:-1;2410:9:20;;2305:120::o;2430:112::-;2462:1;2488;2478:35;;2493:18;;:::i;:::-;-1:-1:-1;2527:9:20;;2430:112::o;2547:125::-;2612:9;;;2633:10;;;2630:36;;;2646:18;;:::i;2677:135::-;2716:3;2737:17;;;2734:43;;2757:18;;:::i;:::-;-1:-1:-1;2804:1:20;2793:13;;2677:135::o;2817:430::-;-1:-1:-1;;;3072:3:20;3065:17;3047:3;3111:6;3105:13;3127:74;3194:6;3190:1;3185:3;3181:11;3174:4;3166:6;3162:17;3127:74;:::i;:::-;3221:16;;;;3239:1;3217:24;;2817:430;-1:-1:-1;;2817:430:20:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "iToHex(bytes)": "671ff786" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"buffer\",\"type\":\"bytes\"}],\"name\":\"iToHex\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/SuaveForge.sol\":\"SuaveForge\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveForge.sol\":{\"keccak256\":\"0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067\",\"dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "bytes", - "name": "buffer", - "type": "bytes" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "iToHex", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/libraries/SuaveForge.sol": "SuaveForge" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/libraries/SuaveForge.sol": { - "keccak256": "0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34", - "urls": [ - "bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067", - "dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd" - ], - "license": "UNLICENSED" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/libraries/SuaveForge.sol", - "id": 40582, - "exportedSymbols": { - "Suave": [ - 39934 - ], - "SuaveForge": [ - 40581 - ], - "Vm": [ - 40083 - ] - }, - "nodeType": "SourceUnit", - "src": "39:4806:16", - "nodes": [ - { - "id": 40073, - "nodeType": "PragmaDirective", - "src": "39:23:16", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40074, - "nodeType": "ImportDirective", - "src": "64:21:16", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "./Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 40582, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40083, - "nodeType": "ContractDefinition", - "src": "87:110:16", - "nodes": [ - { - "id": 40082, - "nodeType": "FunctionDefinition", - "src": "106:89:16", - "nodes": [], - "functionSelector": "89160467", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ffi", - "nameLocation": "115:3:16", - "parameters": { - "id": 40078, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40077, - "mutability": "mutable", - "name": "commandInput", - "nameLocation": "137:12:16", - "nodeType": "VariableDeclaration", - "scope": 40082, - "src": "119:30:16", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40075, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "119:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40076, - "nodeType": "ArrayTypeName", - "src": "119:8:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "118:32:16" - }, - "returnParameters": { - "id": 40081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40080, - "mutability": "mutable", - "name": "result", - "nameLocation": "187:6:16", - "nodeType": "VariableDeclaration", - "scope": 40082, - "src": "174:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40079, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "174:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "173:21:16" - }, - "scope": 40083, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Vm", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 40083 - ], - "name": "Vm", - "nameLocation": "97:2:16", - "scope": 40582, - "usedErrors": [] - }, - { - "id": 40581, - "nodeType": "ContractDefinition", - "src": "199:4645:16", - "nodes": [ - { - "id": 40089, - "nodeType": "VariableDeclaration", - "src": "224:63:16", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "236:2:16", - "scope": 40581, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - }, - "typeName": { - "id": 40085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40084, - "name": "Vm", - "nameLocations": [ - "224:2:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40083, - "src": "224:2:16" - }, - "referencedDeclaration": 40083, - "src": "224:2:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307837313039373039454366613931613830363236664633393839443638663637463562314444313244", - "id": 40087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "244:42:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x7109709ECfa91a80626fF3989D68f67F5b1DD12D" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 40086, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40083, - "src": "241:2:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$40083_$", - "typeString": "type(contract Vm)" - } - }, - "id": 40088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "241:46:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - } - }, - "visibility": "internal" - }, - { - "id": 40149, - "nodeType": "FunctionDefinition", - "src": "294:374:16", - "nodes": [], - "body": { - "id": 40148, - "nodeType": "Block", - "src": "387:281:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40099 - ], - "declarations": [ - { - "constant": false, - "id": 40099, - "mutability": "mutable", - "name": "dataHex", - "nameLocation": "411:7:16", - "nodeType": "VariableDeclaration", - "scope": 40148, - "src": "397:21:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40098, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "397:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 40103, - "initialValue": { - "arguments": [ - { - "id": 40101, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40093, - "src": "428:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40100, - "name": "iToHex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40231, - "src": "421:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes memory) pure returns (string memory)" - } - }, - "id": 40102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "421:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "397:36:16" - }, - { - "assignments": [ - 40108 - ], - "declarations": [ - { - "constant": false, - "id": 40108, - "mutability": "mutable", - "name": "inputs", - "nameLocation": "460:6:16", - "nodeType": "VariableDeclaration", - "scope": 40148, - "src": "444:22:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "444:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40107, - "nodeType": "ArrayTypeName", - "src": "444:8:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 40114, - "initialValue": { - "arguments": [ - { - "hexValue": "34", - "id": 40112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "482:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - } - ], - "id": 40111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "469:12:16", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 40109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "473:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40110, - "nodeType": "ArrayTypeName", - "src": "473:8:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 40113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "469:15:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "444:40:16" - }, - { - "expression": { - "id": 40119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40115, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "494:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40117, - "indexExpression": { - "hexValue": "30", - "id": 40116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "501:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "494:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "7375617665", - "id": 40118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "506:7:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8cc2c47756da6e47fbb3800d856641b3cb86e24947499e9370d70c85135df19a", - "typeString": "literal_string \"suave\"" - }, - "value": "suave" - }, - "src": "494:19:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40120, - "nodeType": "ExpressionStatement", - "src": "494:19:16" - }, - { - "expression": { - "id": 40125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40121, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "523:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40123, - "indexExpression": { - "hexValue": "31", - "id": 40122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "530:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "523:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "666f726765", - "id": 40124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "535:7:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4f7998b245301fa1dfc784b03961989df486af3dd1e44f88da79ca40cf5125f", - "typeString": "literal_string \"forge\"" - }, - "value": "forge" - }, - "src": "523:19:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40126, - "nodeType": "ExpressionStatement", - "src": "523:19:16" - }, - { - "expression": { - "id": 40131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40127, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "552:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40129, - "indexExpression": { - "hexValue": "32", - "id": 40128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "559:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "552:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40130, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40091, - "src": "564:4:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "552:16:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40132, - "nodeType": "ExpressionStatement", - "src": "552:16:16" - }, - { - "expression": { - "id": 40137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40133, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "578:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40135, - "indexExpression": { - "hexValue": "33", - "id": 40134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "585:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "578:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40136, - "name": "dataHex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40099, - "src": "590:7:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "578:19:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40138, - "nodeType": "ExpressionStatement", - "src": "578:19:16" - }, - { - "assignments": [ - 40140 - ], - "declarations": [ - { - "constant": false, - "id": 40140, - "mutability": "mutable", - "name": "res", - "nameLocation": "621:3:16", - "nodeType": "VariableDeclaration", - "scope": 40148, - "src": "608:16:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40139, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "608:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40145, - "initialValue": { - "arguments": [ - { - "id": 40143, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "634:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 40141, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40089, - "src": "627:2:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - } - }, - "id": 40142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "630:3:16", - "memberName": "ffi", - "nodeType": "MemberAccess", - "referencedDeclaration": 40082, - "src": "627:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory[] memory) view external returns (bytes memory)" - } - }, - "id": 40144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "627:14:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "608:33:16" - }, - { - "expression": { - "id": 40146, - "name": "res", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40140, - "src": "658:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40097, - "id": 40147, - "nodeType": "Return", - "src": "651:10:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "forgeIt", - "nameLocation": "303:7:16", - "parameters": { - "id": 40094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40091, - "mutability": "mutable", - "name": "addr", - "nameLocation": "325:4:16", - "nodeType": "VariableDeclaration", - "scope": 40149, - "src": "311:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40090, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "311:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40093, - "mutability": "mutable", - "name": "data", - "nameLocation": "344:4:16", - "nodeType": "VariableDeclaration", - "scope": 40149, - "src": "331:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40092, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "331:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "310:39:16" - }, - "returnParameters": { - "id": 40097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40096, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40149, - "src": "373:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40095, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "373:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "372:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40231, - "nodeType": "FunctionDefinition", - "src": "674:463:16", - "nodes": [], - "body": { - "id": 40230, - "nodeType": "Block", - "src": "747:390:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40157 - ], - "declarations": [ - { - "constant": false, - "id": 40157, - "mutability": "mutable", - "name": "converted", - "nameLocation": "770:9:16", - "nodeType": "VariableDeclaration", - "scope": 40230, - "src": "757:22:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40156, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "757:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40165, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 40160, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "792:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "799:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "792:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "32", - "id": 40162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "808:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "792:17:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 40159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "782:9:16", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 40158, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "786:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 40164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "782:28:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "757:53:16" - }, - { - "assignments": [ - 40167 - ], - "declarations": [ - { - "constant": false, - "id": 40167, - "mutability": "mutable", - "name": "_base", - "nameLocation": "834:5:16", - "nodeType": "VariableDeclaration", - "scope": 40230, - "src": "821:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40166, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "821:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40169, - "initialValue": { - "hexValue": "30313233343536373839616263646566", - "id": 40168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "842:18:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", - "typeString": "literal_string \"0123456789abcdef\"" - }, - "value": "0123456789abcdef" - }, - "nodeType": "VariableDeclarationStatement", - "src": "821:39:16" - }, - { - "body": { - "id": 40219, - "nodeType": "Block", - "src": "915:157:16", - "statements": [ - { - "expression": { - "id": 40197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40181, - "name": "converted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40157, - "src": "929:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40185, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40182, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "939:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "32", - "id": 40183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "943:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "939:5:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "929:16:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 40186, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "948:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40196, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "baseExpression": { - "id": 40189, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "960:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40191, - "indexExpression": { - "id": 40190, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "967:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "960:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 40188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "954:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 40187, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "954:5:16", - "typeDescriptions": {} - } - }, - "id": 40192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "954:16:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "expression": { - "id": 40193, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "973:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "979:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "973:12:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "954:31:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "948:38:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "929:57:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 40198, - "nodeType": "ExpressionStatement", - "src": "929:57:16" - }, - { - "expression": { - "id": 40217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40199, - "name": "converted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40157, - "src": "1000:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40205, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40200, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "1010:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "32", - "id": 40201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1014:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "1010:5:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 40203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1018:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1010:9:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1000:20:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 40206, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "1023:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40216, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "baseExpression": { - "id": 40209, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "1035:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40211, - "indexExpression": { - "id": 40210, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "1042:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1035:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 40208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1029:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 40207, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1029:5:16", - "typeDescriptions": {} - } - }, - "id": 40212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1029:16:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "expression": { - "id": 40213, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "1048:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1054:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1048:12:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1029:31:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1023:38:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "1000:61:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 40218, - "nodeType": "ExpressionStatement", - "src": "1000:61:16" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40174, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "891:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40175, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "895:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "902:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "895:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "891:17:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40220, - "initializationExpression": { - "assignments": [ - 40171 - ], - "declarations": [ - { - "constant": false, - "id": 40171, - "mutability": "mutable", - "name": "i", - "nameLocation": "884:1:16", - "nodeType": "VariableDeclaration", - "scope": 40220, - "src": "876:9:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40170, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "876:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40173, - "initialValue": { - "hexValue": "30", - "id": 40172, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "888:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "876:13:16" - }, - "loopExpression": { - "expression": { - "id": 40179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "910:3:16", - "subExpression": { - "id": 40178, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "910:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40180, - "nodeType": "ExpressionStatement", - "src": "910:3:16" - }, - "nodeType": "ForStatement", - "src": "871:201:16" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "3078", - "id": 40225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1113:4:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", - "typeString": "literal_string \"0x\"" - }, - "value": "0x" - }, - { - "id": 40226, - "name": "converted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40157, - "src": "1119:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", - "typeString": "literal_string \"0x\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1096:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1100:12:16", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1096:16:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1096:33:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1089:6:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 40221, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1089:6:16", - "typeDescriptions": {} - } - }, - "id": 40228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1089:41:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 40155, - "id": 40229, - "nodeType": "Return", - "src": "1082:48:16" - } - ] - }, - "functionSelector": "671ff786", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "iToHex", - "nameLocation": "683:6:16", - "parameters": { - "id": 40152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40151, - "mutability": "mutable", - "name": "buffer", - "nameLocation": "703:6:16", - "nodeType": "VariableDeclaration", - "scope": 40231, - "src": "690:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40150, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "690:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "689:21:16" - }, - "returnParameters": { - "id": 40155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40154, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40231, - "src": "732:13:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40153, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "732:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "731:15:16" - }, - "scope": 40581, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 40269, - "nodeType": "FunctionDefinition", - "src": "1143:378:16", - "nodes": [], - "body": { - "id": 40268, - "nodeType": "Block", - "src": "1328:193:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40247 - ], - "declarations": [ - { - "constant": false, - "id": 40247, - "mutability": "mutable", - "name": "data", - "nameLocation": "1351:4:16", - "nodeType": "VariableDeclaration", - "scope": 40268, - "src": "1338:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40246, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1338:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40257, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303031", - "id": 40249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1378:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", - "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" - }, - "value": "0x0000000000000000000000000000000042100001" - }, - { - "arguments": [ - { - "id": 40252, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40234, - "src": "1435:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 40253, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40237, - "src": "1446:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40254, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40239, - "src": "1453:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40250, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1424:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1428:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1424:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1424:39:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", - "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40248, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "1370:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1370:94:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1338:126:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40260, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40247, - "src": "1493:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1500:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40261, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1500:5:16", - "typeDescriptions": {} - } - }, - { - "id": 40264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1507:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40263, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1507:5:16", - "typeDescriptions": {} - } - } - ], - "id": 40265, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1499:14:16", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" - } - ], - "expression": { - "id": 40258, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1482:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1486:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1482:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1482:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "functionReturnParameters": 40245, - "id": 40267, - "nodeType": "Return", - "src": "1475:39:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildEthBlock", - "nameLocation": "1152:13:16", - "parameters": { - "id": 40240, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40234, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "1194:9:16", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1166:37:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 40233, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40232, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "1166:5:16", - "1172:14:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "1166:20:16" - }, - "referencedDeclaration": 39347, - "src": "1166:20:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40237, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "1217:5:16", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1205:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40236, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40235, - "name": "Suave.BidId", - "nameLocations": [ - "1205:5:16", - "1211:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "1205:11:16" - }, - "referencedDeclaration": 39311, - "src": "1205:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40239, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "1238:9:16", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1224:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1224:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1165:83:16" - }, - "returnParameters": { - "id": 40245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40242, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1296:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40241, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1296:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40244, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1310:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40243, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1310:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1295:28:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40286, - "nodeType": "FunctionDefinition", - "src": "1527:193:16", - "nodes": [], - "body": { - "id": 40285, - "nodeType": "Block", - "src": "1594:126:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40275 - ], - "declarations": [ - { - "constant": false, - "id": 40275, - "mutability": "mutable", - "name": "data", - "nameLocation": "1617:4:16", - "nodeType": "VariableDeclaration", - "scope": 40285, - "src": "1604:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40274, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1604:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40282, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303031", - "id": 40277, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1632:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", - "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" - }, - "value": "0x0000000000000000000000000000000042010001" - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40278, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1678:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1682:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1678:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1678:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", - "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40276, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "1624:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1624:67:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1604:87:16" - }, - { - "expression": { - "id": 40283, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40275, - "src": "1709:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40273, - "id": 40284, - "nodeType": "Return", - "src": "1702:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialInputs", - "nameLocation": "1536:18:16", - "parameters": { - "id": 40270, - "nodeType": "ParameterList", - "parameters": [], - "src": "1554:2:16" - }, - "returnParameters": { - "id": 40273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40272, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40286, - "src": "1580:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40271, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1580:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1579:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40310, - "nodeType": "FunctionDefinition", - "src": "1726:246:16", - "nodes": [], - "body": { - "id": 40309, - "nodeType": "Block", - "src": "1836:136:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40297 - ], - "declarations": [ - { - "constant": false, - "id": 40297, - "mutability": "mutable", - "name": "data", - "nameLocation": "1859:4:16", - "nodeType": "VariableDeclaration", - "scope": 40309, - "src": "1846:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40296, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1846:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40306, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303031", - "id": 40299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1874:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", - "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" - }, - "value": "0x0000000000000000000000000000000042020001" - }, - { - "arguments": [ - { - "id": 40302, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40289, - "src": "1931:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40303, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40291, - "src": "1938:3:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40300, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1920:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40301, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1924:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1920:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1920:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", - "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40298, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "1866:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1866:77:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1846:97:16" - }, - { - "expression": { - "id": 40307, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40297, - "src": "1961:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40295, - "id": 40308, - "nodeType": "Return", - "src": "1954:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreRetrieve", - "nameLocation": "1735:25:16", - "parameters": { - "id": 40292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40289, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "1773:5:16", - "nodeType": "VariableDeclaration", - "scope": 40310, - "src": "1761:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40288, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40287, - "name": "Suave.BidId", - "nameLocations": [ - "1761:5:16", - "1767:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "1761:11:16" - }, - "referencedDeclaration": 39311, - "src": "1761:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40291, - "mutability": "mutable", - "name": "key", - "nameLocation": "1794:3:16", - "nodeType": "VariableDeclaration", - "scope": 40310, - "src": "1780:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40290, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1780:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1760:38:16" - }, - "returnParameters": { - "id": 40295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40294, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40310, - "src": "1822:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40293, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1822:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1821:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40333, - "nodeType": "FunctionDefinition", - "src": "1978:225:16", - "nodes": [], - "body": { - "id": 40332, - "nodeType": "Block", - "src": "2082:121:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40321 - ], - "declarations": [ - { - "constant": false, - "id": 40321, - "mutability": "mutable", - "name": "data", - "nameLocation": "2105:4:16", - "nodeType": "VariableDeclaration", - "scope": 40332, - "src": "2092:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40320, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2092:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40331, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303030", - "id": 40323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2120:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", - "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" - }, - "value": "0x0000000000000000000000000000000042020000" - }, - { - "arguments": [ - { - "id": 40326, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40313, - "src": "2177:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40327, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40315, - "src": "2184:3:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40328, - "name": "data1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40317, - "src": "2189:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40324, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2166:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2170:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2166:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2166:29:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", - "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40322, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2112:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2112:84:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2092:104:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreStore", - "nameLocation": "1987:22:16", - "parameters": { - "id": 40318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40313, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2022:5:16", - "nodeType": "VariableDeclaration", - "scope": 40333, - "src": "2010:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40312, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40311, - "name": "Suave.BidId", - "nameLocations": [ - "2010:5:16", - "2016:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2010:11:16" - }, - "referencedDeclaration": 39311, - "src": "2010:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40315, - "mutability": "mutable", - "name": "key", - "nameLocation": "2043:3:16", - "nodeType": "VariableDeclaration", - "scope": 40333, - "src": "2029:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40314, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2029:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40317, - "mutability": "mutable", - "name": "data1", - "nameLocation": "2061:5:16", - "nodeType": "VariableDeclaration", - "scope": 40333, - "src": "2048:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2048:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2009:58:16" - }, - "returnParameters": { - "id": 40319, - "nodeType": "ParameterList", - "parameters": [], - "src": "2082:0:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40362, - "nodeType": "FunctionDefinition", - "src": "2209:264:16", - "nodes": [], - "body": { - "id": 40361, - "nodeType": "Block", - "src": "2306:167:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40343 - ], - "declarations": [ - { - "constant": false, - "id": 40343, - "mutability": "mutable", - "name": "data", - "nameLocation": "2329:4:16", - "nodeType": "VariableDeclaration", - "scope": 40361, - "src": "2316:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40342, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2316:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40352, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303033", - "id": 40345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2344:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", - "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" - }, - "value": "0x0000000000000000000000000000000042100003" - }, - { - "arguments": [ - { - "id": 40348, - "name": "contractAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40335, - "src": "2401:12:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 40349, - "name": "input1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40337, - "src": "2415:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40346, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2390:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2394:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2390:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2390:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", - "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40344, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2336:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2336:87:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2316:107:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40355, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40343, - "src": "2452:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2459:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40356, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2459:5:16", - "typeDescriptions": {} - } - } - ], - "id": 40358, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2458:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40353, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2441:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2445:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2441:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2441:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40341, - "id": 40360, - "nodeType": "Return", - "src": "2434:32:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ethcall", - "nameLocation": "2218:7:16", - "parameters": { - "id": 40338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40335, - "mutability": "mutable", - "name": "contractAddr", - "nameLocation": "2234:12:16", - "nodeType": "VariableDeclaration", - "scope": 40362, - "src": "2226:20:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 40334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2226:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40337, - "mutability": "mutable", - "name": "input1", - "nameLocation": "2261:6:16", - "nodeType": "VariableDeclaration", - "scope": 40362, - "src": "2248:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40336, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2248:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2225:43:16" - }, - "returnParameters": { - "id": 40341, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40340, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40362, - "src": "2292:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40339, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2292:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2291:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40382, - "nodeType": "FunctionDefinition", - "src": "2479:219:16", - "nodes": [], - "body": { - "id": 40381, - "nodeType": "Block", - "src": "2562:136:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40370 - ], - "declarations": [ - { - "constant": false, - "id": 40370, - "mutability": "mutable", - "name": "data", - "nameLocation": "2585:4:16", - "nodeType": "VariableDeclaration", - "scope": 40381, - "src": "2572:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40369, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2572:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40378, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303337", - "id": 40372, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2600:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", - "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" - }, - "value": "0x0000000000000000000000000000000042100037" - }, - { - "arguments": [ - { - "id": 40375, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40364, - "src": "2657:10:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40373, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2646:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2650:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2646:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2646:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", - "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40371, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2592:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2592:77:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2572:97:16" - }, - { - "expression": { - "id": 40379, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40370, - "src": "2687:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40368, - "id": 40380, - "nodeType": "Return", - "src": "2680:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "extractHint", - "nameLocation": "2488:11:16", - "parameters": { - "id": 40365, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40364, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2513:10:16", - "nodeType": "VariableDeclaration", - "scope": 40382, - "src": "2500:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40363, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2500:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2499:25:16" - }, - "returnParameters": { - "id": 40368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40367, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40382, - "src": "2548:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40366, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2548:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2547:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40414, - "nodeType": "FunctionDefinition", - "src": "2704:268:16", - "nodes": [], - "body": { - "id": 40413, - "nodeType": "Block", - "src": "2804:168:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40394 - ], - "declarations": [ - { - "constant": false, - "id": 40394, - "mutability": "mutable", - "name": "data", - "nameLocation": "2827:4:16", - "nodeType": "VariableDeclaration", - "scope": 40413, - "src": "2814:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40393, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2814:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40403, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303031", - "id": 40396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2842:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", - "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" - }, - "value": "0x0000000000000000000000000000000042030001" - }, - { - "arguments": [ - { - "id": 40399, - "name": "cond", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40384, - "src": "2899:4:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40400, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40386, - "src": "2905:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40397, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2888:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2892:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2888:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2888:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", - "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40395, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2834:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:82:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2814:102:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40406, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40394, - "src": "2945:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 40407, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2952:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2958:3:16", - "memberName": "Bid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39328, - "src": "2952:9:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - }, - "id": 40409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2952:11:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - } - ], - "id": 40410, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2951:13:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - ], - "expression": { - "id": 40404, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2934:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2938:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2934:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2934:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "functionReturnParameters": 40392, - "id": 40412, - "nodeType": "Return", - "src": "2927:38:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBids", - "nameLocation": "2713:9:16", - "parameters": { - "id": 40387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40384, - "mutability": "mutable", - "name": "cond", - "nameLocation": "2730:4:16", - "nodeType": "VariableDeclaration", - "scope": 40414, - "src": "2723:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40383, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2723:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40386, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "2750:9:16", - "nodeType": "VariableDeclaration", - "scope": 40414, - "src": "2736:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2736:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2722:38:16" - }, - "returnParameters": { - "id": 40392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40391, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40414, - "src": "2784:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 40389, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40388, - "name": "Suave.Bid", - "nameLocations": [ - "2784:5:16", - "2790:3:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2784:9:16" - }, - "referencedDeclaration": 39328, - "src": "2784:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 40390, - "nodeType": "ArrayTypeName", - "src": "2784:11:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "src": "2783:20:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40435, - "nodeType": "FunctionDefinition", - "src": "2978:215:16", - "nodes": [], - "body": { - "id": 40434, - "nodeType": "Block", - "src": "3062:131:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40423 - ], - "declarations": [ - { - "constant": false, - "id": 40423, - "mutability": "mutable", - "name": "data", - "nameLocation": "3085:4:16", - "nodeType": "VariableDeclaration", - "scope": 40434, - "src": "3072:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40422, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3072:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40431, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433323030303031", - "id": 40425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3100:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", - "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" - }, - "value": "0x0000000000000000000000000000000043200001" - }, - { - "arguments": [ - { - "id": 40428, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40417, - "src": "3157:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 40426, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3146:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3150:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3146:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3146:17:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", - "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40424, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "3092:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3092:72:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3072:92:16" - }, - { - "expression": { - "id": 40432, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40423, - "src": "3182:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40421, - "id": 40433, - "nodeType": "Return", - "src": "3175:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fillMevShareBundle", - "nameLocation": "2987:18:16", - "parameters": { - "id": 40418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40417, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "3018:5:16", - "nodeType": "VariableDeclaration", - "scope": 40435, - "src": "3006:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40416, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40415, - "name": "Suave.BidId", - "nameLocations": [ - "3006:5:16", - "3012:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3006:11:16" - }, - "referencedDeclaration": 39311, - "src": "3006:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3005:19:16" - }, - "returnParameters": { - "id": 40421, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40420, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40435, - "src": "3048:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40419, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3048:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3047:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40473, - "nodeType": "FunctionDefinition", - "src": "3199:455:16", - "nodes": [], - "body": { - "id": 40472, - "nodeType": "Block", - "src": "3410:244:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40452 - ], - "declarations": [ - { - "constant": false, - "id": 40452, - "mutability": "mutable", - "name": "data", - "nameLocation": "3433:4:16", - "nodeType": "VariableDeclaration", - "scope": 40472, - "src": "3420:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40451, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3420:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40463, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303030", - "id": 40454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3461:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", - "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" - }, - "value": "0x0000000000000000000000000000000042030000" - }, - { - "arguments": [ - { - "id": 40457, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40437, - "src": "3530:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40458, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40440, - "src": "3551:14:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40459, - "name": "allowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40443, - "src": "3567:13:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40460, - "name": "bidType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40445, - "src": "3582:7:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40455, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3519:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3523:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3519:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3519:71:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", - "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40453, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "3440:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3440:160:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3420:180:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40466, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40452, - "src": "3629:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "expression": { - "id": 40467, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3636:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3642:3:16", - "memberName": "Bid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39328, - "src": "3636:9:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - } - ], - "id": 40469, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3635:11:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - ], - "expression": { - "id": 40464, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3618:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3622:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3618:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3618:29:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "functionReturnParameters": 40450, - "id": 40471, - "nodeType": "Return", - "src": "3611:36:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "3208:6:16", - "parameters": { - "id": 40446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40437, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3231:19:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3224:26:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40436, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3224:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40440, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "3277:14:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3260:31:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3260:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40439, - "nodeType": "ArrayTypeName", - "src": "3260:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40443, - "mutability": "mutable", - "name": "allowedStores", - "nameLocation": "3318:13:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3301:30:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3301:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40442, - "nodeType": "ArrayTypeName", - "src": "3301:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40445, - "mutability": "mutable", - "name": "bidType", - "nameLocation": "3355:7:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3341:21:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40444, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3341:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3214:154:16" - }, - "returnParameters": { - "id": 40450, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40449, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3392:16:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40448, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40447, - "name": "Suave.Bid", - "nameLocations": [ - "3392:5:16", - "3398:3:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3392:9:16" - }, - "referencedDeclaration": 39328, - "src": "3392:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "3391:18:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40505, - "nodeType": "FunctionDefinition", - "src": "3660:331:16", - "nodes": [], - "body": { - "id": 40504, - "nodeType": "Block", - "src": "3820:171:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40485 - ], - "declarations": [ - { - "constant": false, - "id": 40485, - "mutability": "mutable", - "name": "data", - "nameLocation": "3843:4:16", - "nodeType": "VariableDeclaration", - "scope": 40504, - "src": "3830:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40484, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3830:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40495, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303430313030303031", - "id": 40487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3858:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", - "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" - }, - "value": "0x0000000000000000000000000000000040100001" - }, - { - "arguments": [ - { - "id": 40490, - "name": "txn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40475, - "src": "3915:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 40491, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40477, - "src": "3920:7:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40492, - "name": "signingKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40479, - "src": "3929:10:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3904:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3908:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3904:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3904:36:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", - "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40486, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "3850:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3850:91:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3830:111:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40498, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40485, - "src": "3970:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3977:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40499, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3977:5:16", - "typeDescriptions": {} - } - } - ], - "id": 40501, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3976:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40496, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3959:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3963:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3959:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3959:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40483, - "id": 40503, - "nodeType": "Return", - "src": "3952:32:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "signEthTransaction", - "nameLocation": "3669:18:16", - "parameters": { - "id": 40480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40475, - "mutability": "mutable", - "name": "txn", - "nameLocation": "3701:3:16", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3688:16:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40474, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3688:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40477, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "3720:7:16", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3706:21:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40476, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3706:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40479, - "mutability": "mutable", - "name": "signingKey", - "nameLocation": "3743:10:16", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3729:24:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40478, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3729:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3687:67:16" - }, - "returnParameters": { - "id": 40483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40482, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3802:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40481, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3802:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3801:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40531, - "nodeType": "FunctionDefinition", - "src": "3997:238:16", - "nodes": [], - "body": { - "id": 40530, - "nodeType": "Block", - "src": "4077:158:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40513 - ], - "declarations": [ - { - "constant": false, - "id": 40513, - "mutability": "mutable", - "name": "data", - "nameLocation": "4100:4:16", - "nodeType": "VariableDeclaration", - "scope": 40530, - "src": "4087:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40512, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4087:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40521, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303030", - "id": 40515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4115:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", - "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" - }, - "value": "0x0000000000000000000000000000000042100000" - }, - { - "arguments": [ - { - "id": 40518, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40507, - "src": "4172:10:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4161:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4165:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4161:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4161:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", - "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40514, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "4107:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4107:77:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4087:97:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40524, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40513, - "src": "4213:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4220:6:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 40525, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4220:6:16", - "typeDescriptions": {} - } - } - ], - "id": 40527, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4219:8:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 40522, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4202:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4206:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4202:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4202:26:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 40511, - "id": 40529, - "nodeType": "Return", - "src": "4195:33:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "simulateBundle", - "nameLocation": "4006:14:16", - "parameters": { - "id": 40508, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40507, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "4034:10:16", - "nodeType": "VariableDeclaration", - "scope": 40531, - "src": "4021:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40506, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4021:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4020:25:16" - }, - "returnParameters": { - "id": 40511, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40510, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40531, - "src": "4069:6:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40509, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4069:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "4068:8:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40557, - "nodeType": "FunctionDefinition", - "src": "4241:301:16", - "nodes": [], - "body": { - "id": 40556, - "nodeType": "Block", - "src": "4397:145:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40543 - ], - "declarations": [ - { - "constant": false, - "id": 40543, - "mutability": "mutable", - "name": "data", - "nameLocation": "4420:4:16", - "nodeType": "VariableDeclaration", - "scope": 40556, - "src": "4407:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40542, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4407:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40553, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433303030303031", - "id": 40545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4435:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", - "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" - }, - "value": "0x0000000000000000000000000000000043000001" - }, - { - "arguments": [ - { - "id": 40548, - "name": "url", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40533, - "src": "4492:3:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40549, - "name": "method", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40535, - "src": "4497:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40550, - "name": "params", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40537, - "src": "4505:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40546, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4481:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4485:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4481:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4481:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", - "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40544, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "4427:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4427:86:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4407:106:16" - }, - { - "expression": { - "id": 40554, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40543, - "src": "4531:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40541, - "id": 40555, - "nodeType": "Return", - "src": "4524:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitBundleJsonRPC", - "nameLocation": "4250:19:16", - "parameters": { - "id": 40538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40533, - "mutability": "mutable", - "name": "url", - "nameLocation": "4284:3:16", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4270:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40532, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4270:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40535, - "mutability": "mutable", - "name": "method", - "nameLocation": "4303:6:16", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4289:20:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40534, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4289:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40537, - "mutability": "mutable", - "name": "params", - "nameLocation": "4324:6:16", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4311:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40536, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4311:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4269:62:16" - }, - "returnParameters": { - "id": 40541, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40540, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4379:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40539, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4379:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4378:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40580, - "nodeType": "FunctionDefinition", - "src": "4548:294:16", - "nodes": [], - "body": { - "id": 40579, - "nodeType": "Block", - "src": "4696:146:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40567 - ], - "declarations": [ - { - "constant": false, - "id": 40567, - "mutability": "mutable", - "name": "data", - "nameLocation": "4719:4:16", - "nodeType": "VariableDeclaration", - "scope": 40579, - "src": "4706:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40566, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4706:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40576, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303032", - "id": 40569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4734:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", - "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" - }, - "value": "0x0000000000000000000000000000000042100002" - }, - { - "arguments": [ - { - "id": 40572, - "name": "relayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40559, - "src": "4791:8:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40573, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40561, - "src": "4801:10:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40570, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4780:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4784:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4780:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4780:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", - "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40568, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "4726:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4726:87:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4706:107:16" - }, - { - "expression": { - "id": 40577, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40567, - "src": "4831:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40565, - "id": 40578, - "nodeType": "Return", - "src": "4824:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitEthBlockBidToRelay", - "nameLocation": "4557:24:16", - "parameters": { - "id": 40562, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40559, - "mutability": "mutable", - "name": "relayUrl", - "nameLocation": "4596:8:16", - "nodeType": "VariableDeclaration", - "scope": 40580, - "src": "4582:22:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4582:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40561, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "4619:10:16", - "nodeType": "VariableDeclaration", - "scope": 40580, - "src": "4606:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40560, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4606:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4581:49:16" - }, - "returnParameters": { - "id": 40565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40564, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40580, - "src": "4678:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40563, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4678:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4677:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "SuaveForge", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40581 - ], - "name": "SuaveForge", - "nameLocation": "207:10:16", - "scope": 40582, - "usedErrors": [] - } - ], - "license": "UNLICENSED" + "object": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a" }, - "id": 16 -} \ No newline at end of file + "bytecode": { + "object": "0x61042f61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063671ff7861461003a575b600080fd5b61004d61004836600461023d565b610063565b60405161005a9190610312565b60405180910390f35b6060600082516002610075919061035b565b67ffffffffffffffff81111561008d5761008d610227565b6040519080825280601f01601f1916602001820160405280156100b7576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156101fd5781825186838151811061010357610103610378565b0160200151610115919060f81c6103a4565b8151811061012557610125610378565b01602001516001600160f81b0319168361014083600261035b565b8151811061015057610150610378565b60200101906001600160f81b031916908160001a90535081825186838151811061017c5761017c610378565b016020015161018e919060f81c6103b8565b8151811061019e5761019e610378565b01602001516001600160f81b031916836101b983600261035b565b6101c49060016103cc565b815181106101d4576101d4610378565b60200101906001600160f81b031916908160001a905350806101f5816103df565b9150506100e5565b508160405160200161020f91906103f8565b60405160208183030381529060405292505050919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561024f57600080fd5b813567ffffffffffffffff8082111561026757600080fd5b818401915084601f83011261027b57600080fd5b81358181111561028d5761028d610227565b604051601f8201601f19908116603f011681019083821181831017156102b5576102b5610227565b816040528281528760208487010111156102ce57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b838110156103095781810151838201526020016102f1565b50506000910152565b60208152600082518060208401526103318160408501602087016102ee565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037257610372610345565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000826103b3576103b361038e565b500490565b6000826103c7576103c761038e565b500690565b8082018082111561037257610372610345565b6000600182016103f1576103f1610345565b5060010190565b61060f60f31b8152600082516104158160028501602087016102ee565b919091016002019291505056fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/SuaveForge.sol/Vm.json b/suave/artifacts/SuaveForge.sol/Vm.json index aa9358f706..5f3b2d5511 100644 --- a/suave/artifacts/SuaveForge.sol/Vm.json +++ b/suave/artifacts/SuaveForge.sol/Vm.json @@ -20,6959 +20,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "ffi(string[])": "89160467" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"commandInput\",\"type\":\"string[]\"}],\"name\":\"ffi\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/libraries/SuaveForge.sol\":\"Vm\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveForge.sol\":{\"keccak256\":\"0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067\",\"dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string[]", - "name": "commandInput", - "type": "string[]" - } - ], - "stateMutability": "view", - "type": "function", - "name": "ffi", - "outputs": [ - { - "internalType": "bytes", - "name": "result", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/libraries/SuaveForge.sol": "Vm" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/libraries/SuaveForge.sol": { - "keccak256": "0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34", - "urls": [ - "bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067", - "dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd" - ], - "license": "UNLICENSED" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/libraries/SuaveForge.sol", - "id": 40582, - "exportedSymbols": { - "Suave": [ - 39934 - ], - "SuaveForge": [ - 40581 - ], - "Vm": [ - 40083 - ] - }, - "nodeType": "SourceUnit", - "src": "39:4806:16", - "nodes": [ - { - "id": 40073, - "nodeType": "PragmaDirective", - "src": "39:23:16", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40074, - "nodeType": "ImportDirective", - "src": "64:21:16", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "./Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 40582, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40083, - "nodeType": "ContractDefinition", - "src": "87:110:16", - "nodes": [ - { - "id": 40082, - "nodeType": "FunctionDefinition", - "src": "106:89:16", - "nodes": [], - "functionSelector": "89160467", - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ffi", - "nameLocation": "115:3:16", - "parameters": { - "id": 40078, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40077, - "mutability": "mutable", - "name": "commandInput", - "nameLocation": "137:12:16", - "nodeType": "VariableDeclaration", - "scope": 40082, - "src": "119:30:16", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40075, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "119:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40076, - "nodeType": "ArrayTypeName", - "src": "119:8:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "118:32:16" - }, - "returnParameters": { - "id": 40081, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40080, - "mutability": "mutable", - "name": "result", - "nameLocation": "187:6:16", - "nodeType": "VariableDeclaration", - "scope": 40082, - "src": "174:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40079, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "174:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "173:21:16" - }, - "scope": 40083, - "stateMutability": "view", - "virtual": false, - "visibility": "external" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "Vm", - "contractDependencies": [], - "contractKind": "interface", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 40083 - ], - "name": "Vm", - "nameLocation": "97:2:16", - "scope": 40582, - "usedErrors": [] - }, - { - "id": 40581, - "nodeType": "ContractDefinition", - "src": "199:4645:16", - "nodes": [ - { - "id": 40089, - "nodeType": "VariableDeclaration", - "src": "224:63:16", - "nodes": [], - "constant": true, - "mutability": "constant", - "name": "vm", - "nameLocation": "236:2:16", - "scope": 40581, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - }, - "typeName": { - "id": 40085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40084, - "name": "Vm", - "nameLocations": [ - "224:2:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40083, - "src": "224:2:16" - }, - "referencedDeclaration": 40083, - "src": "224:2:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - } - }, - "value": { - "arguments": [ - { - "hexValue": "307837313039373039454366613931613830363236664633393839443638663637463562314444313244", - "id": 40087, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "244:42:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x7109709ECfa91a80626fF3989D68f67F5b1DD12D" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 40086, - "name": "Vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40083, - "src": "241:2:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Vm_$40083_$", - "typeString": "type(contract Vm)" - } - }, - "id": 40088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "241:46:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - } - }, - "visibility": "internal" - }, - { - "id": 40149, - "nodeType": "FunctionDefinition", - "src": "294:374:16", - "nodes": [], - "body": { - "id": 40148, - "nodeType": "Block", - "src": "387:281:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40099 - ], - "declarations": [ - { - "constant": false, - "id": 40099, - "mutability": "mutable", - "name": "dataHex", - "nameLocation": "411:7:16", - "nodeType": "VariableDeclaration", - "scope": 40148, - "src": "397:21:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40098, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "397:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "id": 40103, - "initialValue": { - "arguments": [ - { - "id": 40101, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40093, - "src": "428:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40100, - "name": "iToHex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40231, - "src": "421:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_string_memory_ptr_$", - "typeString": "function (bytes memory) pure returns (string memory)" - } - }, - "id": 40102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "421:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "397:36:16" - }, - { - "assignments": [ - 40108 - ], - "declarations": [ - { - "constant": false, - "id": 40108, - "mutability": "mutable", - "name": "inputs", - "nameLocation": "460:6:16", - "nodeType": "VariableDeclaration", - "scope": 40148, - "src": "444:22:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40106, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "444:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40107, - "nodeType": "ArrayTypeName", - "src": "444:8:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "id": 40114, - "initialValue": { - "arguments": [ - { - "hexValue": "34", - "id": 40112, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "482:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - } - ], - "id": 40111, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "469:12:16", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (string memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 40109, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "473:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40110, - "nodeType": "ArrayTypeName", - "src": "473:8:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - } - }, - "id": 40113, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "469:15:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "444:40:16" - }, - { - "expression": { - "id": 40119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40115, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "494:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40117, - "indexExpression": { - "hexValue": "30", - "id": 40116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "501:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "494:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "7375617665", - "id": 40118, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "506:7:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_8cc2c47756da6e47fbb3800d856641b3cb86e24947499e9370d70c85135df19a", - "typeString": "literal_string \"suave\"" - }, - "value": "suave" - }, - "src": "494:19:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40120, - "nodeType": "ExpressionStatement", - "src": "494:19:16" - }, - { - "expression": { - "id": 40125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40121, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "523:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40123, - "indexExpression": { - "hexValue": "31", - "id": 40122, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "530:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "523:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "hexValue": "666f726765", - "id": 40124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "535:7:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b4f7998b245301fa1dfc784b03961989df486af3dd1e44f88da79ca40cf5125f", - "typeString": "literal_string \"forge\"" - }, - "value": "forge" - }, - "src": "523:19:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40126, - "nodeType": "ExpressionStatement", - "src": "523:19:16" - }, - { - "expression": { - "id": 40131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40127, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "552:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40129, - "indexExpression": { - "hexValue": "32", - "id": 40128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "559:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "552:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40130, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40091, - "src": "564:4:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "552:16:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40132, - "nodeType": "ExpressionStatement", - "src": "552:16:16" - }, - { - "expression": { - "id": 40137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40133, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "578:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "id": 40135, - "indexExpression": { - "hexValue": "33", - "id": 40134, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "585:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "578:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40136, - "name": "dataHex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40099, - "src": "590:7:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "578:19:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "id": 40138, - "nodeType": "ExpressionStatement", - "src": "578:19:16" - }, - { - "assignments": [ - 40140 - ], - "declarations": [ - { - "constant": false, - "id": 40140, - "mutability": "mutable", - "name": "res", - "nameLocation": "621:3:16", - "nodeType": "VariableDeclaration", - "scope": 40148, - "src": "608:16:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40139, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "608:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40145, - "initialValue": { - "arguments": [ - { - "id": 40143, - "name": "inputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40108, - "src": "634:6:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - ], - "expression": { - "id": 40141, - "name": "vm", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40089, - "src": "627:2:16", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Vm_$40083", - "typeString": "contract Vm" - } - }, - "id": 40142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "630:3:16", - "memberName": "ffi", - "nodeType": "MemberAccess", - "referencedDeclaration": 40082, - "src": "627:6:16", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory[] memory) view external returns (bytes memory)" - } - }, - "id": 40144, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "627:14:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "608:33:16" - }, - { - "expression": { - "id": 40146, - "name": "res", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40140, - "src": "658:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40097, - "id": 40147, - "nodeType": "Return", - "src": "651:10:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "forgeIt", - "nameLocation": "303:7:16", - "parameters": { - "id": 40094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40091, - "mutability": "mutable", - "name": "addr", - "nameLocation": "325:4:16", - "nodeType": "VariableDeclaration", - "scope": 40149, - "src": "311:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40090, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "311:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40093, - "mutability": "mutable", - "name": "data", - "nameLocation": "344:4:16", - "nodeType": "VariableDeclaration", - "scope": 40149, - "src": "331:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40092, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "331:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "310:39:16" - }, - "returnParameters": { - "id": 40097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40096, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40149, - "src": "373:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40095, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "373:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "372:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40231, - "nodeType": "FunctionDefinition", - "src": "674:463:16", - "nodes": [], - "body": { - "id": 40230, - "nodeType": "Block", - "src": "747:390:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40157 - ], - "declarations": [ - { - "constant": false, - "id": 40157, - "mutability": "mutable", - "name": "converted", - "nameLocation": "770:9:16", - "nodeType": "VariableDeclaration", - "scope": 40230, - "src": "757:22:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40156, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "757:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40165, - "initialValue": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 40160, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "792:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "799:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "792:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "32", - "id": 40162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "808:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "792:17:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 40159, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "782:9:16", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 40158, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "786:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - } - }, - "id": 40164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "782:28:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "757:53:16" - }, - { - "assignments": [ - 40167 - ], - "declarations": [ - { - "constant": false, - "id": 40167, - "mutability": "mutable", - "name": "_base", - "nameLocation": "834:5:16", - "nodeType": "VariableDeclaration", - "scope": 40230, - "src": "821:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40166, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "821:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40169, - "initialValue": { - "hexValue": "30313233343536373839616263646566", - "id": 40168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "842:18:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", - "typeString": "literal_string \"0123456789abcdef\"" - }, - "value": "0123456789abcdef" - }, - "nodeType": "VariableDeclarationStatement", - "src": "821:39:16" - }, - { - "body": { - "id": 40219, - "nodeType": "Block", - "src": "915:157:16", - "statements": [ - { - "expression": { - "id": 40197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40181, - "name": "converted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40157, - "src": "929:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40185, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40182, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "939:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "32", - "id": 40183, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "943:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "939:5:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "929:16:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 40186, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "948:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40196, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "baseExpression": { - "id": 40189, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "960:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40191, - "indexExpression": { - "id": 40190, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "967:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "960:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 40188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "954:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 40187, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "954:5:16", - "typeDescriptions": {} - } - }, - "id": 40192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "954:16:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "expression": { - "id": 40193, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "973:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "979:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "973:12:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "954:31:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "948:38:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "929:57:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 40198, - "nodeType": "ExpressionStatement", - "src": "929:57:16" - }, - { - "expression": { - "id": 40217, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 40199, - "name": "converted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40157, - "src": "1000:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40205, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40202, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40200, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "1010:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "hexValue": "32", - "id": 40201, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1014:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "1010:5:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 40203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1018:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1010:9:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1000:20:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 40206, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "1023:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40216, - "indexExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40215, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "arguments": [ - { - "baseExpression": { - "id": 40209, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "1035:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40211, - "indexExpression": { - "id": 40210, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "1042:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1035:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - ], - "id": 40208, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1029:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint8_$", - "typeString": "type(uint8)" - }, - "typeName": { - "id": 40207, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1029:5:16", - "typeDescriptions": {} - } - }, - "id": 40212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1029:16:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "BinaryOperation", - "operator": "%", - "rightExpression": { - "expression": { - "id": 40213, - "name": "_base", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40167, - "src": "1048:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1054:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1048:12:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1029:31:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1023:38:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "1000:61:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "id": 40218, - "nodeType": "ExpressionStatement", - "src": "1000:61:16" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40177, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40174, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "891:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40175, - "name": "buffer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40151, - "src": "895:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40176, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "902:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "895:13:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "891:17:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40220, - "initializationExpression": { - "assignments": [ - 40171 - ], - "declarations": [ - { - "constant": false, - "id": 40171, - "mutability": "mutable", - "name": "i", - "nameLocation": "884:1:16", - "nodeType": "VariableDeclaration", - "scope": 40220, - "src": "876:9:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40170, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "876:7:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40173, - "initialValue": { - "hexValue": "30", - "id": 40172, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "888:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "876:13:16" - }, - "loopExpression": { - "expression": { - "id": 40179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "910:3:16", - "subExpression": { - "id": 40178, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40171, - "src": "910:1:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40180, - "nodeType": "ExpressionStatement", - "src": "910:3:16" - }, - "nodeType": "ForStatement", - "src": "871:201:16" - }, - { - "expression": { - "arguments": [ - { - "arguments": [ - { - "hexValue": "3078", - "id": 40225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1113:4:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", - "typeString": "literal_string \"0x\"" - }, - "value": "0x" - }, - { - "id": 40226, - "name": "converted", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40157, - "src": "1119:9:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837", - "typeString": "literal_string \"0x\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40223, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1096:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40224, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1100:12:16", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "1096:16:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40227, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1096:33:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40222, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1089:6:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_string_storage_ptr_$", - "typeString": "type(string storage pointer)" - }, - "typeName": { - "id": 40221, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1089:6:16", - "typeDescriptions": {} - } - }, - "id": 40228, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1089:41:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "functionReturnParameters": 40155, - "id": 40229, - "nodeType": "Return", - "src": "1082:48:16" - } - ] - }, - "functionSelector": "671ff786", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "iToHex", - "nameLocation": "683:6:16", - "parameters": { - "id": 40152, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40151, - "mutability": "mutable", - "name": "buffer", - "nameLocation": "703:6:16", - "nodeType": "VariableDeclaration", - "scope": 40231, - "src": "690:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40150, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "690:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "689:21:16" - }, - "returnParameters": { - "id": 40155, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40154, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40231, - "src": "732:13:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40153, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "732:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "731:15:16" - }, - "scope": 40581, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 40269, - "nodeType": "FunctionDefinition", - "src": "1143:378:16", - "nodes": [], - "body": { - "id": 40268, - "nodeType": "Block", - "src": "1328:193:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40247 - ], - "declarations": [ - { - "constant": false, - "id": 40247, - "mutability": "mutable", - "name": "data", - "nameLocation": "1351:4:16", - "nodeType": "VariableDeclaration", - "scope": 40268, - "src": "1338:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40246, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1338:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40257, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303031", - "id": 40249, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1378:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", - "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" - }, - "value": "0x0000000000000000000000000000000042100001" - }, - { - "arguments": [ - { - "id": 40252, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40234, - "src": "1435:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 40253, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40237, - "src": "1446:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40254, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40239, - "src": "1453:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40250, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1424:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40251, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1428:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1424:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1424:39:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_321615dbc9c33fa05978ab2b5cbac9e4a6383249339c753517315e10cfd83793", - "typeString": "literal_string \"0x0000000000000000000000000000000042100001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40248, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "1370:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40256, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1370:94:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1338:126:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40260, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40247, - "src": "1493:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1500:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40261, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1500:5:16", - "typeDescriptions": {} - } - }, - { - "id": 40264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1507:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40263, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1507:5:16", - "typeDescriptions": {} - } - } - ], - "id": 40265, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "1499:14:16", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(bytes storage pointer),type(bytes storage pointer))" - } - ], - "expression": { - "id": 40258, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1482:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40259, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1486:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "1482:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1482:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "functionReturnParameters": 40245, - "id": 40267, - "nodeType": "Return", - "src": "1475:39:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildEthBlock", - "nameLocation": "1152:13:16", - "parameters": { - "id": 40240, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40234, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "1194:9:16", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1166:37:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 40233, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40232, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "1166:5:16", - "1172:14:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "1166:20:16" - }, - "referencedDeclaration": 39347, - "src": "1166:20:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40237, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "1217:5:16", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1205:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40236, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40235, - "name": "Suave.BidId", - "nameLocations": [ - "1205:5:16", - "1211:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "1205:11:16" - }, - "referencedDeclaration": 39311, - "src": "1205:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40239, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "1238:9:16", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1224:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40238, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1224:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1165:83:16" - }, - "returnParameters": { - "id": 40245, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40242, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1296:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40241, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1296:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40244, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40269, - "src": "1310:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40243, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1310:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1295:28:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40286, - "nodeType": "FunctionDefinition", - "src": "1527:193:16", - "nodes": [], - "body": { - "id": 40285, - "nodeType": "Block", - "src": "1594:126:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40275 - ], - "declarations": [ - { - "constant": false, - "id": 40275, - "mutability": "mutable", - "name": "data", - "nameLocation": "1617:4:16", - "nodeType": "VariableDeclaration", - "scope": 40285, - "src": "1604:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40274, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1604:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40282, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303130303031", - "id": 40277, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1632:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", - "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" - }, - "value": "0x0000000000000000000000000000000042010001" - }, - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40278, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1678:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1682:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1678:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1678:12:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_44d83ca964a4850c9739069e279d83d2efb07b8ab7dc0aa9019ee92851b0095f", - "typeString": "literal_string \"0x0000000000000000000000000000000042010001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40276, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "1624:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1624:67:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1604:87:16" - }, - { - "expression": { - "id": 40283, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40275, - "src": "1709:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40273, - "id": 40284, - "nodeType": "Return", - "src": "1702:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialInputs", - "nameLocation": "1536:18:16", - "parameters": { - "id": 40270, - "nodeType": "ParameterList", - "parameters": [], - "src": "1554:2:16" - }, - "returnParameters": { - "id": 40273, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40272, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40286, - "src": "1580:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40271, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1580:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1579:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40310, - "nodeType": "FunctionDefinition", - "src": "1726:246:16", - "nodes": [], - "body": { - "id": 40309, - "nodeType": "Block", - "src": "1836:136:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40297 - ], - "declarations": [ - { - "constant": false, - "id": 40297, - "mutability": "mutable", - "name": "data", - "nameLocation": "1859:4:16", - "nodeType": "VariableDeclaration", - "scope": 40309, - "src": "1846:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40296, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1846:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40306, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303031", - "id": 40299, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1874:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", - "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" - }, - "value": "0x0000000000000000000000000000000042020001" - }, - { - "arguments": [ - { - "id": 40302, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40289, - "src": "1931:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40303, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40291, - "src": "1938:3:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40300, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1920:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40301, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1924:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1920:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1920:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_0534f3c49a86f8ad3cd6d917f0924c24b626d0dbde9b22b19d881a92086d8b77", - "typeString": "literal_string \"0x0000000000000000000000000000000042020001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40298, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "1866:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1866:77:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1846:97:16" - }, - { - "expression": { - "id": 40307, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40297, - "src": "1961:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40295, - "id": 40308, - "nodeType": "Return", - "src": "1954:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreRetrieve", - "nameLocation": "1735:25:16", - "parameters": { - "id": 40292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40289, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "1773:5:16", - "nodeType": "VariableDeclaration", - "scope": 40310, - "src": "1761:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40288, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40287, - "name": "Suave.BidId", - "nameLocations": [ - "1761:5:16", - "1767:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "1761:11:16" - }, - "referencedDeclaration": 39311, - "src": "1761:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40291, - "mutability": "mutable", - "name": "key", - "nameLocation": "1794:3:16", - "nodeType": "VariableDeclaration", - "scope": 40310, - "src": "1780:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40290, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1780:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "1760:38:16" - }, - "returnParameters": { - "id": 40295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40294, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40310, - "src": "1822:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40293, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1822:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1821:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40333, - "nodeType": "FunctionDefinition", - "src": "1978:225:16", - "nodes": [], - "body": { - "id": 40332, - "nodeType": "Block", - "src": "2082:121:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40321 - ], - "declarations": [ - { - "constant": false, - "id": 40321, - "mutability": "mutable", - "name": "data", - "nameLocation": "2105:4:16", - "nodeType": "VariableDeclaration", - "scope": 40332, - "src": "2092:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40320, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2092:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40331, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303230303030", - "id": 40323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2120:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", - "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" - }, - "value": "0x0000000000000000000000000000000042020000" - }, - { - "arguments": [ - { - "id": 40326, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40313, - "src": "2177:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40327, - "name": "key", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40315, - "src": "2184:3:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40328, - "name": "data1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40317, - "src": "2189:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40324, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2166:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40325, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2170:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2166:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2166:29:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_47092b4208389a6aae8dc49956c6a7bb88fd525a039c3c81a49adf2b257ad4d4", - "typeString": "literal_string \"0x0000000000000000000000000000000042020000\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40322, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2112:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40330, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2112:84:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2092:104:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "confidentialStoreStore", - "nameLocation": "1987:22:16", - "parameters": { - "id": 40318, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40313, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2022:5:16", - "nodeType": "VariableDeclaration", - "scope": 40333, - "src": "2010:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40312, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40311, - "name": "Suave.BidId", - "nameLocations": [ - "2010:5:16", - "2016:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2010:11:16" - }, - "referencedDeclaration": 39311, - "src": "2010:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40315, - "mutability": "mutable", - "name": "key", - "nameLocation": "2043:3:16", - "nodeType": "VariableDeclaration", - "scope": 40333, - "src": "2029:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40314, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2029:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40317, - "mutability": "mutable", - "name": "data1", - "nameLocation": "2061:5:16", - "nodeType": "VariableDeclaration", - "scope": 40333, - "src": "2048:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40316, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2048:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2009:58:16" - }, - "returnParameters": { - "id": 40319, - "nodeType": "ParameterList", - "parameters": [], - "src": "2082:0:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40362, - "nodeType": "FunctionDefinition", - "src": "2209:264:16", - "nodes": [], - "body": { - "id": 40361, - "nodeType": "Block", - "src": "2306:167:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40343 - ], - "declarations": [ - { - "constant": false, - "id": 40343, - "mutability": "mutable", - "name": "data", - "nameLocation": "2329:4:16", - "nodeType": "VariableDeclaration", - "scope": 40361, - "src": "2316:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40342, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2316:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40352, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303033", - "id": 40345, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2344:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", - "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" - }, - "value": "0x0000000000000000000000000000000042100003" - }, - { - "arguments": [ - { - "id": 40348, - "name": "contractAddr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40335, - "src": "2401:12:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "id": 40349, - "name": "input1", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40337, - "src": "2415:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40346, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2390:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2394:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2390:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40350, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2390:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_56f059757f42b531e5001a0fc6b1c5c2b053decd977b4e3e7ebb518c87c9b613", - "typeString": "literal_string \"0x0000000000000000000000000000000042100003\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40344, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2336:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40351, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2336:87:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2316:107:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40355, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40343, - "src": "2452:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2459:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40356, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2459:5:16", - "typeDescriptions": {} - } - } - ], - "id": 40358, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2458:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40353, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2441:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40354, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2445:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2441:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2441:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40341, - "id": 40360, - "nodeType": "Return", - "src": "2434:32:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ethcall", - "nameLocation": "2218:7:16", - "parameters": { - "id": 40338, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40335, - "mutability": "mutable", - "name": "contractAddr", - "nameLocation": "2234:12:16", - "nodeType": "VariableDeclaration", - "scope": 40362, - "src": "2226:20:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 40334, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2226:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40337, - "mutability": "mutable", - "name": "input1", - "nameLocation": "2261:6:16", - "nodeType": "VariableDeclaration", - "scope": 40362, - "src": "2248:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40336, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2248:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2225:43:16" - }, - "returnParameters": { - "id": 40341, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40340, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40362, - "src": "2292:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40339, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2292:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2291:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40382, - "nodeType": "FunctionDefinition", - "src": "2479:219:16", - "nodes": [], - "body": { - "id": 40381, - "nodeType": "Block", - "src": "2562:136:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40370 - ], - "declarations": [ - { - "constant": false, - "id": 40370, - "mutability": "mutable", - "name": "data", - "nameLocation": "2585:4:16", - "nodeType": "VariableDeclaration", - "scope": 40381, - "src": "2572:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40369, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2572:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40378, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303337", - "id": 40372, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2600:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", - "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" - }, - "value": "0x0000000000000000000000000000000042100037" - }, - { - "arguments": [ - { - "id": 40375, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40364, - "src": "2657:10:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40373, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2646:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40374, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2650:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2646:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2646:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_fbf9483df857adaeaf177053aa28be15df1d7d364d99f5db4fd0e800497ce152", - "typeString": "literal_string \"0x0000000000000000000000000000000042100037\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40371, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2592:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40377, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2592:77:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2572:97:16" - }, - { - "expression": { - "id": 40379, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40370, - "src": "2687:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40368, - "id": 40380, - "nodeType": "Return", - "src": "2680:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "extractHint", - "nameLocation": "2488:11:16", - "parameters": { - "id": 40365, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40364, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2513:10:16", - "nodeType": "VariableDeclaration", - "scope": 40382, - "src": "2500:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40363, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2500:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2499:25:16" - }, - "returnParameters": { - "id": 40368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40367, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40382, - "src": "2548:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40366, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2548:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2547:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40414, - "nodeType": "FunctionDefinition", - "src": "2704:268:16", - "nodes": [], - "body": { - "id": 40413, - "nodeType": "Block", - "src": "2804:168:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40394 - ], - "declarations": [ - { - "constant": false, - "id": 40394, - "mutability": "mutable", - "name": "data", - "nameLocation": "2827:4:16", - "nodeType": "VariableDeclaration", - "scope": 40413, - "src": "2814:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40393, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2814:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40403, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303031", - "id": 40396, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2842:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", - "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" - }, - "value": "0x0000000000000000000000000000000042030001" - }, - { - "arguments": [ - { - "id": 40399, - "name": "cond", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40384, - "src": "2899:4:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40400, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40386, - "src": "2905:9:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40397, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2888:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40398, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2892:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2888:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40401, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2888:27:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_eafb81c3dbf123bd38a193b80e1d99c0c612d375e577ce869af5d9d7bd84321a", - "typeString": "literal_string \"0x0000000000000000000000000000000042030001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40395, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "2834:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:82:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2814:102:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40406, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40394, - "src": "2945:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 40407, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2952:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2958:3:16", - "memberName": "Bid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39328, - "src": "2952:9:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - }, - "id": 40409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2952:11:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - } - ], - "id": 40410, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2951:13:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "type(struct Suave.Bid memory[] memory)" - } - ], - "expression": { - "id": 40404, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2934:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40405, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2938:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "2934:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2934:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "functionReturnParameters": 40392, - "id": 40412, - "nodeType": "Return", - "src": "2927:38:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBids", - "nameLocation": "2713:9:16", - "parameters": { - "id": 40387, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40384, - "mutability": "mutable", - "name": "cond", - "nameLocation": "2730:4:16", - "nodeType": "VariableDeclaration", - "scope": 40414, - "src": "2723:11:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40383, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2723:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40386, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "2750:9:16", - "nodeType": "VariableDeclaration", - "scope": 40414, - "src": "2736:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40385, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2736:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "2722:38:16" - }, - "returnParameters": { - "id": 40392, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40391, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40414, - "src": "2784:18:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 40389, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40388, - "name": "Suave.Bid", - "nameLocations": [ - "2784:5:16", - "2790:3:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2784:9:16" - }, - "referencedDeclaration": 39328, - "src": "2784:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 40390, - "nodeType": "ArrayTypeName", - "src": "2784:11:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "src": "2783:20:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40435, - "nodeType": "FunctionDefinition", - "src": "2978:215:16", - "nodes": [], - "body": { - "id": 40434, - "nodeType": "Block", - "src": "3062:131:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40423 - ], - "declarations": [ - { - "constant": false, - "id": 40423, - "mutability": "mutable", - "name": "data", - "nameLocation": "3085:4:16", - "nodeType": "VariableDeclaration", - "scope": 40434, - "src": "3072:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40422, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3072:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40431, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433323030303031", - "id": 40425, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3100:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", - "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" - }, - "value": "0x0000000000000000000000000000000043200001" - }, - { - "arguments": [ - { - "id": 40428, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40417, - "src": "3157:5:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 40426, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3146:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40427, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3150:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3146:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40429, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3146:17:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_3e62abeacc376ceb9dddc0a767a3e5545863c12a5c6b203e89119410ee123d4a", - "typeString": "literal_string \"0x0000000000000000000000000000000043200001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40424, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "3092:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3092:72:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3072:92:16" - }, - { - "expression": { - "id": 40432, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40423, - "src": "3182:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40421, - "id": 40433, - "nodeType": "Return", - "src": "3175:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fillMevShareBundle", - "nameLocation": "2987:18:16", - "parameters": { - "id": 40418, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40417, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "3018:5:16", - "nodeType": "VariableDeclaration", - "scope": 40435, - "src": "3006:17:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40416, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40415, - "name": "Suave.BidId", - "nameLocations": [ - "3006:5:16", - "3012:5:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3006:11:16" - }, - "referencedDeclaration": 39311, - "src": "3006:11:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3005:19:16" - }, - "returnParameters": { - "id": 40421, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40420, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40435, - "src": "3048:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40419, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3048:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3047:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40473, - "nodeType": "FunctionDefinition", - "src": "3199:455:16", - "nodes": [], - "body": { - "id": 40472, - "nodeType": "Block", - "src": "3410:244:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40452 - ], - "declarations": [ - { - "constant": false, - "id": 40452, - "mutability": "mutable", - "name": "data", - "nameLocation": "3433:4:16", - "nodeType": "VariableDeclaration", - "scope": 40472, - "src": "3420:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40451, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3420:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40463, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432303330303030", - "id": 40454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3461:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", - "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" - }, - "value": "0x0000000000000000000000000000000042030000" - }, - { - "arguments": [ - { - "id": 40457, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40437, - "src": "3530:19:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40458, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40440, - "src": "3551:14:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40459, - "name": "allowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40443, - "src": "3567:13:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40460, - "name": "bidType", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40445, - "src": "3582:7:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40455, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3519:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40456, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3523:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3519:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3519:71:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_41f18ad85b5452594f4046115836ea5032cea79099189dc249e6c72f55fa7a88", - "typeString": "literal_string \"0x0000000000000000000000000000000042030000\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40453, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "3440:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3440:160:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3420:180:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40466, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40452, - "src": "3629:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "expression": { - "id": 40467, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3636:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3642:3:16", - "memberName": "Bid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39328, - "src": "3636:9:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - } - ], - "id": 40469, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3635:11:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_struct$_Bid_$39328_storage_ptr_$", - "typeString": "type(struct Suave.Bid storage pointer)" - } - ], - "expression": { - "id": 40464, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3618:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40465, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3622:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3618:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3618:29:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "functionReturnParameters": 40450, - "id": 40471, - "nodeType": "Return", - "src": "3611:36:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "3208:6:16", - "parameters": { - "id": 40446, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40437, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3231:19:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3224:26:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40436, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3224:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40440, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "3277:14:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3260:31:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40438, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3260:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40439, - "nodeType": "ArrayTypeName", - "src": "3260:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40443, - "mutability": "mutable", - "name": "allowedStores", - "nameLocation": "3318:13:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3301:30:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40441, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3301:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40442, - "nodeType": "ArrayTypeName", - "src": "3301:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40445, - "mutability": "mutable", - "name": "bidType", - "nameLocation": "3355:7:16", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3341:21:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40444, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3341:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3214:154:16" - }, - "returnParameters": { - "id": 40450, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40449, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40473, - "src": "3392:16:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40448, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40447, - "name": "Suave.Bid", - "nameLocations": [ - "3392:5:16", - "3398:3:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3392:9:16" - }, - "referencedDeclaration": 39328, - "src": "3392:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "3391:18:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40505, - "nodeType": "FunctionDefinition", - "src": "3660:331:16", - "nodes": [], - "body": { - "id": 40504, - "nodeType": "Block", - "src": "3820:171:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40485 - ], - "declarations": [ - { - "constant": false, - "id": 40485, - "mutability": "mutable", - "name": "data", - "nameLocation": "3843:4:16", - "nodeType": "VariableDeclaration", - "scope": 40504, - "src": "3830:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40484, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3830:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40495, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303430313030303031", - "id": 40487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3858:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", - "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" - }, - "value": "0x0000000000000000000000000000000040100001" - }, - { - "arguments": [ - { - "id": 40490, - "name": "txn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40475, - "src": "3915:3:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "id": 40491, - "name": "chainId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40477, - "src": "3920:7:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40492, - "name": "signingKey", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40479, - "src": "3929:10:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 40488, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3904:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3908:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3904:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3904:36:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_f083702014404419a1ba08d9403146b0395ab7c9f70ea8d094764fd3bb6ac5a8", - "typeString": "literal_string \"0x0000000000000000000000000000000040100001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40486, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "3850:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40494, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3850:91:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3830:111:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40498, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40485, - "src": "3970:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3977:5:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40499, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3977:5:16", - "typeDescriptions": {} - } - } - ], - "id": 40501, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "3976:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40496, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3959:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3963:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "3959:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3959:25:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40483, - "id": 40503, - "nodeType": "Return", - "src": "3952:32:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "signEthTransaction", - "nameLocation": "3669:18:16", - "parameters": { - "id": 40480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40475, - "mutability": "mutable", - "name": "txn", - "nameLocation": "3701:3:16", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3688:16:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40474, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3688:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40477, - "mutability": "mutable", - "name": "chainId", - "nameLocation": "3720:7:16", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3706:21:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40476, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3706:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40479, - "mutability": "mutable", - "name": "signingKey", - "nameLocation": "3743:10:16", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3729:24:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40478, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "3729:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "3687:67:16" - }, - "returnParameters": { - "id": 40483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40482, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40505, - "src": "3802:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40481, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3802:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3801:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40531, - "nodeType": "FunctionDefinition", - "src": "3997:238:16", - "nodes": [], - "body": { - "id": 40530, - "nodeType": "Block", - "src": "4077:158:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40513 - ], - "declarations": [ - { - "constant": false, - "id": 40513, - "mutability": "mutable", - "name": "data", - "nameLocation": "4100:4:16", - "nodeType": "VariableDeclaration", - "scope": 40530, - "src": "4087:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40512, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4087:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40521, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303030", - "id": 40515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4115:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", - "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" - }, - "value": "0x0000000000000000000000000000000042100000" - }, - { - "arguments": [ - { - "id": 40518, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40507, - "src": "4172:10:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40516, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4161:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4165:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4161:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4161:22:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_4b21fdea34add07f524a1e487635bca932369460cebeb43b0003569146d45e09", - "typeString": "literal_string \"0x0000000000000000000000000000000042100000\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40514, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "4107:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4107:77:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4087:97:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40524, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40513, - "src": "4213:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40526, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4220:6:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 40525, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4220:6:16", - "typeDescriptions": {} - } - } - ], - "id": 40527, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "4219:8:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 40522, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4202:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40523, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4206:6:16", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "4202:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40528, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4202:26:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 40511, - "id": 40529, - "nodeType": "Return", - "src": "4195:33:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "simulateBundle", - "nameLocation": "4006:14:16", - "parameters": { - "id": 40508, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40507, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "4034:10:16", - "nodeType": "VariableDeclaration", - "scope": 40531, - "src": "4021:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40506, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4021:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4020:25:16" - }, - "returnParameters": { - "id": 40511, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40510, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40531, - "src": "4069:6:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40509, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "4069:6:16", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "4068:8:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40557, - "nodeType": "FunctionDefinition", - "src": "4241:301:16", - "nodes": [], - "body": { - "id": 40556, - "nodeType": "Block", - "src": "4397:145:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40543 - ], - "declarations": [ - { - "constant": false, - "id": 40543, - "mutability": "mutable", - "name": "data", - "nameLocation": "4420:4:16", - "nodeType": "VariableDeclaration", - "scope": 40556, - "src": "4407:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40542, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4407:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40553, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303433303030303031", - "id": 40545, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4435:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", - "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" - }, - "value": "0x0000000000000000000000000000000043000001" - }, - { - "arguments": [ - { - "id": 40548, - "name": "url", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40533, - "src": "4492:3:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40549, - "name": "method", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40535, - "src": "4497:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40550, - "name": "params", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40537, - "src": "4505:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40546, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4481:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40547, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4485:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4481:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4481:31:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_28e9c36af8f3e5ab50c11130808087e07ea8f0a88265366dc6157d12cd20b2c6", - "typeString": "literal_string \"0x0000000000000000000000000000000043000001\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40544, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "4427:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4427:86:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4407:106:16" - }, - { - "expression": { - "id": 40554, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40543, - "src": "4531:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40541, - "id": 40555, - "nodeType": "Return", - "src": "4524:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitBundleJsonRPC", - "nameLocation": "4250:19:16", - "parameters": { - "id": 40538, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40533, - "mutability": "mutable", - "name": "url", - "nameLocation": "4284:3:16", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4270:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40532, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4270:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40535, - "mutability": "mutable", - "name": "method", - "nameLocation": "4303:6:16", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4289:20:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40534, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4289:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40537, - "mutability": "mutable", - "name": "params", - "nameLocation": "4324:6:16", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4311:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40536, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4311:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4269:62:16" - }, - "returnParameters": { - "id": 40541, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40540, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40557, - "src": "4379:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40539, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4379:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4378:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - }, - { - "id": 40580, - "nodeType": "FunctionDefinition", - "src": "4548:294:16", - "nodes": [], - "body": { - "id": 40579, - "nodeType": "Block", - "src": "4696:146:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40567 - ], - "declarations": [ - { - "constant": false, - "id": 40567, - "mutability": "mutable", - "name": "data", - "nameLocation": "4719:4:16", - "nodeType": "VariableDeclaration", - "scope": 40579, - "src": "4706:17:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40566, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4706:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40576, - "initialValue": { - "arguments": [ - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303432313030303032", - "id": 40569, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4734:44:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", - "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" - }, - "value": "0x0000000000000000000000000000000042100002" - }, - { - "arguments": [ - { - "id": 40572, - "name": "relayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40559, - "src": "4791:8:16", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "id": 40573, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40561, - "src": "4801:10:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40570, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4780:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40571, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4784:6:16", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4780:10:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4780:32:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7e30409cb955e7f58d717319307881383194776a431040935092218af6fe050f", - "typeString": "literal_string \"0x0000000000000000000000000000000042100002\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40568, - "name": "forgeIt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40149, - "src": "4726:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4726:87:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4706:107:16" - }, - { - "expression": { - "id": 40577, - "name": "data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40567, - "src": "4831:4:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40565, - "id": 40578, - "nodeType": "Return", - "src": "4824:11:16" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "submitEthBlockBidToRelay", - "nameLocation": "4557:24:16", - "parameters": { - "id": 40562, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40559, - "mutability": "mutable", - "name": "relayUrl", - "nameLocation": "4596:8:16", - "nodeType": "VariableDeclaration", - "scope": 40580, - "src": "4582:22:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 40558, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4582:6:16", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40561, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "4619:10:16", - "nodeType": "VariableDeclaration", - "scope": 40580, - "src": "4606:23:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40560, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4606:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4581:49:16" - }, - "returnParameters": { - "id": 40565, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40564, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40580, - "src": "4678:12:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40563, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4678:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4677:14:16" - }, - "scope": 40581, - "stateMutability": "view", - "virtual": false, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "SuaveForge", - "contractDependencies": [], - "contractKind": "library", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40581 - ], - "name": "SuaveForge", - "nameLocation": "207:10:16", - "scope": 40582, - "usedErrors": [] - } - ], - "license": "UNLICENSED" + "object": "0x" }, - "id": 16 -} \ No newline at end of file + "bytecode": { + "object": "0x" + } +} diff --git a/suave/artifacts/bids.sol/AnyBidContract.json b/suave/artifacts/bids.sol/AnyBidContract.json index dd40d9fdb6..a097598f66 100644 --- a/suave/artifacts/bids.sol/AnyBidContract.json +++ b/suave/artifacts/bids.sol/AnyBidContract.json @@ -100,19463 +100,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b5061051f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a", - "sourceMap": "59:532:18:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a", - "sourceMap": "59:532:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187:228;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;467:122;;;;;;:::i;:::-;;:::i;:::-;;187:228;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;14:250:20:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:20;238:16;;231:27;14:250::o;269:270::-;310:3;348:5;342:12;375:6;370:3;363:19;391:76;460:6;453:4;448:3;444:14;437:4;430:5;426:16;391:76;:::i;:::-;521:2;500:15;-1:-1:-1;;496:29:20;487:39;;;;528:4;483:50;;269:270;-1:-1:-1;;269:270:20:o;544:217::-;691:2;680:9;673:21;654:4;711:44;751:2;740:9;736:18;728:6;711:44;:::i;:::-;703:52;544:217;-1:-1:-1;;;544:217:20:o;766:384::-;849:6;902:2;890:9;881:7;877:23;873:32;870:52;;;918:1;915;908:12;870:52;958:9;945:23;991:18;983:6;980:30;977:50;;;1023:1;1020;1013:12;977:50;1046:22;;1102:3;1084:16;;;1080:26;1077:46;;;1119:1;1116;1109:12;1155:127;1216:10;1211:3;1207:20;1204:1;1197:31;1247:4;1244:1;1237:15;1271:4;1268:1;1261:15;1287:896;1366:6;1419:2;1407:9;1398:7;1394:23;1390:32;1387:52;;;1435:1;1432;1425:12;1387:52;1468:9;1462:16;1497:18;1538:2;1530:6;1527:14;1524:34;;;1554:1;1551;1544:12;1524:34;1592:6;1581:9;1577:22;1567:32;;1637:7;1630:4;1626:2;1622:13;1618:27;1608:55;;1659:1;1656;1649:12;1608:55;1688:2;1682:9;1710:2;1706;1703:10;1700:36;;;1716:18;;:::i;:::-;1791:2;1785:9;1759:2;1845:13;;-1:-1:-1;;1841:22:20;;;1865:2;1837:31;1833:40;1821:53;;;1889:18;;;1909:22;;;1886:46;1883:72;;;1935:18;;:::i;:::-;1975:10;1971:2;1964:22;2010:2;2002:6;1995:18;2050:7;2045:2;2040;2036;2032:11;2028:20;2025:33;2022:53;;;2071:1;2068;2061:12;2022:53;2084:68;2149:2;2144;2136:6;2132:15;2127:2;2123;2119:11;2084:68;:::i;:::-;2171:6;1287:896;-1:-1:-1;;;;;;;1287:896:20:o;2188:333::-;2274:6;2327:2;2315:9;2306:7;2302:23;2298:32;2295:52;;;2343:1;2340;2333:12;2295:52;2369:23;;-1:-1:-1;;2421:51:20;;2411:62;;2401:90;;2487:1;2484;2477:12;2526:284;2584:6;2637:2;2625:9;2616:7;2612:23;2608:32;2605:52;;;2653:1;2650;2643:12;2605:52;2692:9;2679:23;2742:18;2735:5;2731:30;2724:5;2721:41;2711:69;;2776:1;2773;2766:12;2815:545;2908:4;2914:6;2974:11;2961:25;3068:2;3064:7;3053:8;3037:14;3033:29;3029:43;3009:18;3005:68;2995:96;;3087:1;3084;3077:12;2995:96;3114:33;;3166:20;;;-1:-1:-1;3209:18:20;3198:30;;3195:50;;;3241:1;3238;3231:12;3195:50;3274:4;3262:17;;-1:-1:-1;3325:1:20;3321:14;;;3305;3301:35;3291:46;;3288:66;;;3350:1;3347;3340:12;3288:66;2815:545;;;;;:::o;3365:1006::-;3598:4;3646:2;3635:9;3631:18;3692:34;3688:39;3680:6;3676:52;3665:9;3658:71;3748:2;3798:18;3790:6;3786:31;3781:2;3770:9;3766:18;3759:59;3854:2;3849;3838:9;3834:18;3827:30;3877:6;3907;3899;3892:22;3945:3;3934:9;3930:19;3923:26;;3972:6;3958:20;;3996:1;4017;4027:318;4043:6;4038:3;4035:15;4027:318;;;4109:20;;-1:-1:-1;;;;;4152:31:20;;4206:13;;;4196:41;;4233:1;4230;4223:12;4196:41;4250:15;;-1:-1:-1;4320:15:20;;;;4285:12;;;;4069:1;4060:11;4027:318;;;-1:-1:-1;4362:3:20;;3365:1006;-1:-1:-1;;;;;;;;;3365:1006:20:o;4586:314::-;-1:-1:-1;;;;;4761:32:20;;4743:51;;4830:2;4825;4810:18;;4803:30;;;-1:-1:-1;;4850:44:20;;4875:18;;4867:6;4850:44;:::i;:::-;4842:52;4586:314;-1:-1:-1;;;;4586:314:20:o;4905:287::-;5034:3;5072:6;5066:13;5088:66;5147:6;5142:3;5135:4;5127:6;5123:17;5088:66;:::i;:::-;5170:16;;;;;4905:287;-1:-1:-1;;4905:287:20:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "fetchBidConfidentialBundleData()": "92f07a58" + "object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"AnyBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "AnyBidContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] - }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5061051f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806392f07a581461003b578063c0b9d28714610059575b600080fd5b61004361006e565b604051610050919061027e565b60405180910390f35b61006c610067366004610298565b6100a7565b005b606061007861010d565b61008157600080fd5b600061008b610196565b9050808060200190518101906100a191906102e9565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6100d56020830183610396565b6100e560608401604085016103c9565b6100f260608501856103f3565b6040516101029493929190610444565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d8060008114610153576040519150601f19603f3d011682016040523d82523d6000602084013e610158565b606091505b50915091508161018c576342010000816040516375fff46760e01b81526004016101839291906104ca565b60405180910390fd5b6020015192915050565b6040805160008082526020820192839052606092909182916342010001916101bd916104f6565b600060405180830381855afa9150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b509150915081610228576342010001816040516375fff46760e01b81526004016101839291906104ca565b92915050565b60005b83811015610249578181015183820152602001610231565b50506000910152565b6000815180845261026a81602086016020860161022e565b601f01601f19169290920160200192915050565b6020815260006102916020830184610252565b9392505050565b6000602082840312156102aa57600080fd5b813567ffffffffffffffff8111156102c157600080fd5b820160c0818503121561029157600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156102fb57600080fd5b815167ffffffffffffffff8082111561031357600080fd5b818401915084601f83011261032757600080fd5b815181811115610339576103396102d3565b604051601f8201601f19908116603f01168101908382118183101715610361576103616102d3565b8160405282815287602084870101111561037a57600080fd5b61038b83602083016020880161022e565b979650505050505050565b6000602082840312156103a857600080fd5b81356fffffffffffffffffffffffffffffffff198116811461029157600080fd5b6000602082840312156103db57600080fd5b813567ffffffffffffffff8116811461029157600080fd5b6000808335601e1984360301811261040a57600080fd5b83018035915067ffffffffffffffff82111561042557600080fd5b6020019150600581901b360382131561043d57600080fd5b9250929050565b6000606082016fffffffffffffffffffffffffffffffff1987168352602067ffffffffffffffff87168185015260606040850152818583526080850190508692506000805b878110156104bb5784356001600160a01b0381168082146104a8578384fd5b8452509383019391830191600101610489565b50909998505050505050505050565b6001600160a01b03831681526040602082018190526000906104ee90830184610252565b949350505050565b6000825161050881846020870161022e565b919091019291505056fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/bids.sol/BundleBidContract.json b/suave/artifacts/bids.sol/BundleBidContract.json index 79d4fd5986..7bce91be55 100644 --- a/suave/artifacts/bids.sol/BundleBidContract.json +++ b/suave/artifacts/bids.sol/BundleBidContract.json @@ -129,19493 +129,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b50610e8f806100206000396000f3fe6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a", - "sourceMap": "593:936:18:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a", - "sourceMap": "593:936:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;642:646;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;187:228;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;:::-;;642:646;783:12;809:22;:20;:22::i;:::-;801:31;;;;;;837:23;863:4;-1:-1:-1;;;;;863:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;863:37:18;;;;;;;;;;;;:::i;:::-;837:63;;905:10;918:32;939:10;918:20;:32::i;:::-;905:45;;955:20;978:95;991:19;1012:17;1031:16;978:95;;;;;;;;;;;;;-1:-1:-1;;;978:95:18;;;:12;:95::i;:::-;955:118;;1078:73;1107:3;:6;;;1078:73;;;;;;;;;;;;;-1:-1:-1;;;1078:73:18;;;1140:10;1078:28;:73::i;:::-;1184:6;;1155:87;;;;;;;;;;;;;;;;;;;;1226:15;;-1:-1:-1;;;;;4777:31:20;;1226:15:18;;;4759:50:20;1226:15:18;;;;;;;;;;4732:18:20;;1226:15:18;;;1155:87;;1184:6;1155:28;:87::i;:::-;1254:30;1268:3;1273:10;1254:13;:30::i;:::-;1247:37;;;;;642:646;;;;;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;1291:236:18:-;1376:12;1399:61;1408:3;:6;;;1416:3;:23;;;1441:3;:18;;;1399:61;;;;;;;;:::i;:::-;;;;;;;;1507:15;;-1:-1:-1;;;1484:21:18;1507:15;;1518:3;;1507:15;;;:::i;:::-;;;;-1:-1:-1;;1507:15:18;;;;;;;;;;1471:52;;;1507:15;1471:52;;:::i;:::-;;;;;;;;;;;;;1464:59;;1291:236;;;;:::o;3051:282:14:-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;14:129:20:-;-1:-1:-1;;;;;92:5:20;88:30;81:5;78:41;68:69;;133:1;130;123:12;68:69;14:129;:::o;148:127::-;209:10;204:3;200:20;197:1;190:31;240:4;237:1;230:15;264:4;261:1;254:15;280:253;352:2;346:9;394:4;382:17;;-1:-1:-1;;;;;414:34:20;;450:22;;;411:62;408:88;;;476:18;;:::i;:::-;512:2;505:22;280:253;:::o;538:275::-;609:2;603:9;674:2;655:13;;-1:-1:-1;;651:27:20;639:40;;-1:-1:-1;;;;;694:34:20;;730:22;;;691:62;688:88;;;756:18;;:::i;:::-;792:2;785:22;538:275;;-1:-1:-1;538:275:20:o;818:183::-;878:4;-1:-1:-1;;;;;903:6:20;900:30;897:56;;;933:18;;:::i;:::-;-1:-1:-1;978:1:20;974:14;990:4;970:25;;818:183::o;1006:131::-;-1:-1:-1;;;;;1081:31:20;;1071:42;;1061:70;;1127:1;1124;1117:12;1142:737;1196:5;1249:3;1242:4;1234:6;1230:17;1226:27;1216:55;;1267:1;1264;1257:12;1216:55;1303:6;1290:20;1329:4;1353:60;1369:43;1409:2;1369:43;:::i;:::-;1353:60;:::i;:::-;1447:15;;;1533:1;1529:10;;;;1517:23;;1513:32;;;1478:12;;;;1557:15;;;1554:35;;;1585:1;1582;1575:12;1554:35;1621:2;1613:6;1609:15;1633:217;1649:6;1644:3;1641:15;1633:217;;;1729:3;1716:17;1746:31;1771:5;1746:31;:::i;:::-;1790:18;;1828:12;;;;1666;;1633:217;;;-1:-1:-1;1868:5:20;1142:737;-1:-1:-1;;;;;;1142:737:20:o;1884:728::-;2010:6;2018;2026;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;2134:9;2121:23;2153:30;2177:5;2153:30;:::i;:::-;2202:5;-1:-1:-1;2258:2:20;2243:18;;2230:32;-1:-1:-1;;;;;2311:14:20;;;2308:34;;;2338:1;2335;2328:12;2308:34;2361:61;2414:7;2405:6;2394:9;2390:22;2361:61;:::i;:::-;2351:71;;2475:2;2464:9;2460:18;2447:32;2431:48;;2504:2;2494:8;2491:16;2488:36;;;2520:1;2517;2510:12;2488:36;;2543:63;2598:7;2587:8;2576:9;2572:24;2543:63;:::i;:::-;2533:73;;;1884:728;;;;;:::o;2617:250::-;2702:1;2712:113;2726:6;2723:1;2720:13;2712:113;;;2802:11;;;2796:18;2783:11;;;2776:39;2748:2;2741:10;2712:113;;;-1:-1:-1;;2859:1:20;2841:16;;2834:27;2617:250::o;2872:270::-;2913:3;2951:5;2945:12;2978:6;2973:3;2966:19;2994:76;3063:6;3056:4;3051:3;3047:14;3040:4;3033:5;3029:16;2994:76;:::i;:::-;3124:2;3103:15;-1:-1:-1;;3099:29:20;3090:39;;;;3131:4;3086:50;;2872:270;-1:-1:-1;;2872:270:20:o;3147:217::-;3294:2;3283:9;3276:21;3257:4;3314:44;3354:2;3343:9;3339:18;3331:6;3314:44;:::i;3369:384::-;3452:6;3505:2;3493:9;3484:7;3480:23;3476:32;3473:52;;;3521:1;3518;3511:12;3473:52;3561:9;3548:23;-1:-1:-1;;;;;3586:6:20;3583:30;3580:50;;;3626:1;3623;3616:12;3580:50;3649:22;;3705:3;3687:16;;;3683:26;3680:46;;;3722:1;3719;3712:12;3758:390;3833:5;-1:-1:-1;;;;;3859:6:20;3856:30;3853:56;;;3889:18;;:::i;:::-;3927:57;3972:2;3951:15;;-1:-1:-1;;3947:29:20;3978:4;3943:40;3927:57;:::i;:::-;3918:66;;4007:6;4000:5;3993:21;4047:3;4038:6;4033:3;4029:16;4026:25;4023:45;;;4064:1;4061;4054:12;4023:45;4077:65;4135:6;4128:4;4121:5;4117:16;4112:3;4077:65;:::i;4153:457::-;4232:6;4285:2;4273:9;4264:7;4260:23;4256:32;4253:52;;;4301:1;4298;4291:12;4253:52;4334:9;4328:16;-1:-1:-1;;;;;4359:6:20;4356:30;4353:50;;;4399:1;4396;4389:12;4353:50;4422:22;;4475:4;4467:13;;4463:27;-1:-1:-1;4453:55:20;;4504:1;4501;4494:12;4453:55;4527:77;4596:7;4591:2;4585:9;4580:2;4576;4572:11;4527:77;:::i;4820:170::-;-1:-1:-1;;4914:51:20;;4904:62;;4894:90;;4980:1;4977;4970:12;4995:293;5081:6;5134:2;5122:9;5113:7;5109:23;5105:32;5102:52;;;5150:1;5147;5140:12;5102:52;5189:9;5176:23;5208:50;5252:5;5208:50;:::i;5293:245::-;5351:6;5404:2;5392:9;5383:7;5379:23;5375:32;5372:52;;;5420:1;5417;5410:12;5372:52;5459:9;5446:23;5478:30;5502:5;5478:30;:::i;5543:545::-;5636:4;5642:6;5702:11;5689:25;5796:2;5792:7;5781:8;5765:14;5761:29;5757:43;5737:18;5733:68;5723:96;;5815:1;5812;5805:12;5723:96;5842:33;;5894:20;;;-1:-1:-1;;;;;;5926:30:20;;5923:50;;;5969:1;5966;5959:12;5923:50;6002:4;5990:17;;-1:-1:-1;6053:1:20;6049:14;;;6033;6029:35;6019:46;;6016:66;;;6078:1;6075;6068:12;6016:66;5543:545;;;;;:::o;6093:944::-;6326:4;6374:2;6363:9;6359:18;-1:-1:-1;;;;;6416:39:20;6408:6;6404:52;6393:9;6386:71;6476:2;-1:-1:-1;;;;;6518:6:20;6514:31;6509:2;6498:9;6494:18;6487:59;6582:2;6577;6566:9;6562:18;6555:30;6605:6;6635;6627;6620:22;6673:3;6662:9;6658:19;6651:26;;6700:6;6686:20;;6724:1;6734:277;6748:6;6745:1;6742:13;6734:277;;;6823:6;6810:20;6843:31;6868:5;6843:31;:::i;:::-;-1:-1:-1;;;;;6899:31:20;6887:44;;6986:15;;;;6951:12;;;;6927:1;6763:9;6734:277;;;-1:-1:-1;7028:3:20;6093:944;-1:-1:-1;;;;;;;;6093:944:20:o;7252:314::-;-1:-1:-1;;;;;7427:32:20;;7409:51;;7496:2;7491;7476:18;;7469:30;;;-1:-1:-1;;7516:44:20;;7541:18;;7533:6;7516:44;:::i;7571:287::-;7700:3;7738:6;7732:13;7754:66;7813:6;7808:3;7801:4;7793:6;7789:17;7754:66;:::i;:::-;7836:16;;;;;7571:287;-1:-1:-1;;7571:287:20:o;7863:136::-;7941:13;;7963:30;7941:13;7963:30;:::i;:::-;7863:136;;;:::o;8004:249::-;8073:6;8126:2;8114:9;8105:7;8101:23;8097:32;8094:52;;;8142:1;8139;8132:12;8094:52;8174:9;8168:16;8193:30;8217:5;8193:30;:::i;8258:461::-;8311:3;8349:5;8343:12;8376:6;8371:3;8364:19;8402:4;8431:2;8426:3;8422:12;8415:19;;8468:2;8461:5;8457:14;8489:1;8499:195;8513:6;8510:1;8507:13;8499:195;;;8578:13;;-1:-1:-1;;;;;8574:39:20;8562:52;;8634:12;;;;8669:15;;;;8610:1;8528:9;8499:195;;;-1:-1:-1;8710:3:20;;8258:461;-1:-1:-1;;;;;8258:461:20:o;8724:723::-;-1:-1:-1;;;;;9059:6:20;9055:31;9044:9;9037:50;9123:3;9118:2;9107:9;9103:18;9096:31;9018:4;9150:57;9202:3;9191:9;9187:19;9179:6;9150:57;:::i;:::-;9255:9;9247:6;9243:22;9238:2;9227:9;9223:18;9216:50;9289:44;9326:6;9318;9289:44;:::i;:::-;9275:58;;9381:9;9373:6;9369:22;9364:2;9353:9;9349:18;9342:50;9409:32;9434:6;9426;9409:32;:::i;9452:176::-;9550:13;;9572:50;9550:13;9572:50;:::i;9633:734::-;9698:5;9751:3;9744:4;9736:6;9732:17;9728:27;9718:55;;9769:1;9766;9759:12;9718:55;9798:6;9792:13;9824:4;9848:60;9864:43;9904:2;9864:43;:::i;9848:60::-;9942:15;;;10028:1;10024:10;;;;10012:23;;10008:32;;;9973:12;;;;10052:15;;;10049:35;;;10080:1;10077;10070:12;10049:35;10116:2;10108:6;10104:15;10128:210;10144:6;10139:3;10136:15;10128:210;;;10217:3;10211:10;10234:31;10259:5;10234:31;:::i;:::-;10278:18;;10316:12;;;;10161;;10128:210;;10372:236;10426:5;10479:3;10472:4;10464:6;10460:17;10456:27;10446:55;;10497:1;10494;10487:12;10446:55;10519:83;10598:3;10589:6;10583:13;10576:4;10568:6;10564:17;10519:83;:::i;10613:1256::-;10705:6;10758:2;10746:9;10737:7;10733:23;10729:32;10726:52;;;10774:1;10771;10764:12;10726:52;10807:9;10801:16;-1:-1:-1;;;;;10877:2:20;10869:6;10866:14;10863:34;;;10893:1;10890;10883:12;10863:34;10916:22;;;;10972:4;10954:16;;;10950:27;10947:47;;;10990:1;10987;10980:12;10947:47;11016:22;;:::i;:::-;11061:52;11110:2;11061:52;:::i;:::-;11054:5;11047:67;11146:61;11203:2;11199;11195:11;11146:61;:::i;:::-;11141:2;11134:5;11130:14;11123:85;11240:41;11277:2;11273;11269:11;11240:41;:::i;:::-;11235:2;11228:5;11224:14;11217:65;11321:2;11317;11313:11;11307:18;11350:2;11340:8;11337:16;11334:36;;;11366:1;11363;11356:12;11334:36;11402:67;11461:7;11450:8;11446:2;11442:17;11402:67;:::i;:::-;11397:2;11390:5;11386:14;11379:91;;11509:3;11505:2;11501:12;11495:19;11539:2;11529:8;11526:16;11523:36;;;11555:1;11552;11545:12;11523:36;11592:67;11651:7;11640:8;11636:2;11632:17;11592:67;:::i;:::-;11586:3;11579:5;11575:15;11568:92;;11699:3;11695:2;11691:12;11685:19;11729:2;11719:8;11716:16;11713:36;;;11745:1;11742;11735:12;11713:36;11782:56;11830:7;11819:8;11815:2;11811:17;11782:56;:::i;:::-;11776:3;11765:15;;11758:81;-1:-1:-1;11769:5:20;10613:1256;-1:-1:-1;;;;;10613:1256:20:o;11874:523::-;-1:-1:-1;;;;;12136:39:20;12128:6;12124:52;12113:9;12106:71;12213:2;12208;12197:9;12193:18;12186:30;12087:4;12239:44;12279:2;12268:9;12264:18;12256:6;12239:44;:::i;:::-;12331:9;12323:6;12319:22;12314:2;12303:9;12299:18;12292:50;12359:32;12384:6;12376;12359:32;:::i;:::-;12351:40;11874:523;-1:-1:-1;;;;;;11874:523:20:o;12402:499::-;-1:-1:-1;;;;;12674:39:20;12666:6;12662:52;12651:9;12644:71;-1:-1:-1;;;;;12755:6:20;12751:31;12746:2;12735:9;12731:18;12724:59;12819:2;12814;12803:9;12799:18;12792:30;12625:4;12839:56;12891:2;12880:9;12876:18;12868:6;12839:56;:::i;:::-;12831:64;12402:499;-1:-1:-1;;;;;12402:499:20:o;12906:1035::-;13079:2;13068:9;13061:21;13042:4;-1:-1:-1;;;;;13101:39:20;13195:2;13186:6;13180:13;13176:22;13171:2;13160:9;13156:18;13149:50;13263:2;13257;13249:6;13245:15;13239:22;13235:31;13230:2;13219:9;13215:18;13208:59;;-1:-1:-1;;;;;13325:2:20;13317:6;13313:15;13307:22;13303:47;13298:2;13287:9;13283:18;13276:75;13398:2;13390:6;13386:15;13380:22;13439:4;13433:3;13422:9;13418:19;13411:33;13467:63;13525:3;13514:9;13510:19;13496:12;13467:63;:::i;:::-;13453:77;;13579:3;13571:6;13567:16;13561:23;13607:2;13603:7;13675:2;13663:9;13655:6;13651:22;13647:31;13641:3;13630:9;13626:19;13619:60;13702:52;13747:6;13731:14;13702:52;:::i;:::-;13688:66;;13803:3;13795:6;13791:16;13785:23;13763:45;;13874:2;13862:9;13854:6;13850:22;13846:31;13839:4;13828:9;13824:20;13817:61;;13895:40;13928:6;13912:14;13895:40;:::i;13946:384::-;-1:-1:-1;;;;;;14131:33:20;;14119:46;;14188:13;;14101:3;;14210:74;14188:13;14273:1;14264:11;;14257:4;14245:17;;14210:74;:::i;:::-;14304:16;;;;14322:1;14300:24;;13946:384;-1:-1:-1;;;13946:384:20:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "fetchBidConfidentialBundleData()": "92f07a58", - "newBid(uint64,address[],address[])": "236eb5a7" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"BundleBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "bidAllowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bidAllowedStores", - "type": "address[]" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "newBid", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "BundleBidContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 + "object": "0x6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a" }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] - }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x608060405234801561001057600080fd5b50610e8f806100206000396000f3fe6080604052600436106100345760003560e01c8063236eb5a71461003957806392f07a5814610062578063c0b9d28714610077575b600080fd5b61004c610047366004610815565b610099565b60405161005991906108da565b60405180910390f35b34801561006e57600080fd5b5061004c610217565b34801561008357600080fd5b506100976100923660046108ed565b610250565b005b60606100a36102b6565b6100ac57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156100ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101169190810190610975565b905060006101238261033f565b905060006101608787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610404565b905061019e81600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525085610501565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102009291610501565b61020a81846105b3565b93505050505b9392505050565b60606102216102b6565b61022a57600080fd5b600061023461064b565b90508080602001905181019061024a9190610975565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e61027e60208301836109dc565b61028e60608401604085016109f9565b61029b6060850185610a16565b6040516102ab9493929190610a66565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146102fc576040519150601f19603f3d011682016040523d82523d6000602084013e610301565b606091505b509150915081610335576342010000816040516375fff46760e01b815260040161032c929190610adb565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161036391906108da565b60408051601f198184030181529082905261037d91610aff565b600060405180830381855afa9150503d80600081146103b8576040519150601f19603f3d011682016040523d82523d6000602084013e6103bd565b606091505b5091509150816103e8576342100000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906103fc9190610b2b565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b03168787878760405160200161045d9493929190610b8c565b60408051601f198184030181529082905261047791610aff565b600060405180830381855afa9150503d80600081146104b2576040519150601f19603f3d011682016040523d82523d6000602084013e6104b7565b606091505b5091509150816104e2576342030000816040516375fff46760e01b815260040161032c929190610adb565b808060200190518101906104f69190610c63565b979650505050505050565b60008063420200006001600160a01b031685858560405160200161052793929190610d4a565b60408051601f198184030181529082905261054191610aff565b600060405180830381855afa9150503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b5091509150816105ac576342020000816040516375fff46760e01b815260040161032c929190610adb565b5050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8360000151846040015185606001516040516105f493929190610d89565b60405180910390a160405163c0b9d28760e01b90610616908590602001610dc4565b60408051601f19818403018152908290526106349291602001610e51565b604051602081830303815290604052905092915050565b60408051600080825260208201928390526060929091829163420100019161067291610aff565b600060405180830381855afa9150503d80600081146106ad576040519150601f19603f3d011682016040523d82523d6000602084013e6106b2565b606091505b5091509150816106dd576342010001816040516375fff46760e01b815260040161032c929190610adb565b92915050565b6001600160401b03811681146106f857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610733576107336106fb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610761576107616106fb565b604052919050565b60006001600160401b03821115610782576107826106fb565b5060051b60200190565b6001600160a01b03811681146106f857600080fd5b600082601f8301126107b257600080fd5b813560206107c76107c283610769565b610739565b82815260059290921b840181019181810190868411156107e657600080fd5b8286015b8481101561080a5780356107fd8161078c565b83529183019183016107ea565b509695505050505050565b60008060006060848603121561082a57600080fd5b8335610835816106e3565b925060208401356001600160401b038082111561085157600080fd5b61085d878388016107a1565b9350604086013591508082111561087357600080fd5b50610880868287016107a1565b9150509250925092565b60005b838110156108a557818101518382015260200161088d565b50506000910152565b600081518084526108c681602086016020860161088a565b601f01601f19169290920160200192915050565b60208152600061021060208301846108ae565b6000602082840312156108ff57600080fd5b81356001600160401b0381111561091557600080fd5b820160c0818503121561021057600080fd5b60006001600160401b03831115610940576109406106fb565b610953601f8401601f1916602001610739565b905082815283838301111561096757600080fd5b61021083602083018461088a565b60006020828403121561098757600080fd5b81516001600160401b0381111561099d57600080fd5b8201601f810184136109ae57600080fd5b6103fc84825160208401610927565b6fffffffffffffffffffffffffffffffff19811681146106f857600080fd5b6000602082840312156109ee57600080fd5b8135610210816109bd565b600060208284031215610a0b57600080fd5b8135610210816106e3565b6000808335601e19843603018112610a2d57600080fd5b8301803591506001600160401b03821115610a4757600080fd5b6020019150600581901b3603821315610a5f57600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610ace578335610ab38161078c565b6001600160a01b031682529282019290820190600101610aa0565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906103fc908301846108ae565b60008251610b1181846020870161088a565b9190910192915050565b8051610b26816106e3565b919050565b600060208284031215610b3d57600080fd5b8151610210816106e3565b600081518084526020808501945080840160005b83811015610b815781516001600160a01b031687529582019590820190600101610b5c565b509495945050505050565b6001600160401b0385168152608060208201526000610bae6080830186610b48565b8281036040840152610bc08186610b48565b905082810360608401526104f681856108ae565b8051610b26816109bd565b600082601f830112610bf057600080fd5b81516020610c006107c283610769565b82815260059290921b84018101918181019086841115610c1f57600080fd5b8286015b8481101561080a578051610c368161078c565b8352918301918301610c23565b600082601f830112610c5457600080fd5b61021083835160208501610927565b600060208284031215610c7557600080fd5b81516001600160401b0380821115610c8c57600080fd5b9083019060c08286031215610ca057600080fd5b610ca8610711565b610cb183610bd4565b8152610cbf60208401610bd4565b6020820152610cd060408401610b1b565b6040820152606083015182811115610ce757600080fd5b610cf387828601610bdf565b606083015250608083015182811115610d0b57600080fd5b610d1787828601610bdf565b60808301525060a083015182811115610d2f57600080fd5b610d3b87828601610c43565b60a08301525095945050505050565b6001600160801b031984168152606060208201526000610d6d60608301856108ae565b8281036040840152610d7f81856108ae565b9695505050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610dbb6060830184610b48565b95945050505050565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c06080840152610e1560e0840182610b48565b90506080840151601f19808584030160a0860152610e338383610b48565b925060a08601519150808584030160c086015250610dbb82826108ae565b6001600160e01b0319831681528151600090610e7481600485016020870161088a565b91909101600401939250505056fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/bids.sol/EthBlockBidContract.json b/suave/artifacts/bids.sol/EthBlockBidContract.json index 8d533848db..5e20f90406 100644 --- a/suave/artifacts/bids.sol/EthBlockBidContract.json +++ b/suave/artifacts/bids.sol/EthBlockBidContract.json @@ -669,20039 +669,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b506125db806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a", - "sourceMap": "5594:5568:18:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a", - "sourceMap": "5594:5568:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9205:556;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5999:2014;;;;;;:::i;:::-;;:::i;10827:333::-;;;;;;:::i;:::-;;:::i;187:228::-;;;:::i;10548:276::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;467:122::-;;;;;;:::i;:::-;;:::i;:::-;;9764:781;;;;;;:::i;:::-;;:::i;5720:276::-;;;;;;:::i;:::-;;:::i;:::-;;;13765:14:20;;13758:22;13740:41;;13728:2;13713:18;5720:276:18;13600:187:20;8016:1186:18;;;;;;:::i;:::-;;:::i;9205:556::-;9362:12;9388:22;:20;:22::i;:::-;9380:31;;;;;;9471:53;;-1:-1:-1;;;9471:53:18;;9417:25;;;;9471:4;;:12;;:53;;9484:9;;9495:11;;9508:4;;9514:9;;9471:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9471:53:18;;;;;;;;;;;;:::i;:::-;9416:108;;;;9534:45;9555:8;:11;;;9568:10;9534:45;;;;;;;:::i;:::-;;;;;;;;9588:76;9597:8;:11;;;9610:8;:28;;;9640:8;:23;;;9588:76;;;;;;;;:::i;:::-;;;;;;;;9724:32;;-1:-1:-1;;;9688:34:18;9724:32;;9735:8;;9745:10;;9724:32;;;:::i;:::-;;;;-1:-1:-1;;9724:32:18;;;;;;;;;;9675:82;;;9724:32;9675:82;;:::i;:::-;;;;;;;;;;;;;9668:89;;;;9205:556;;;;;;:::o;5999:2014::-;6097:12;6123:22;:20;:22::i;:::-;6115:31;;;;;;6151:36;6190:53;6206:11;6190:53;;;;;;;;;;;;;-1:-1:-1;;;6190:53:18;;;:15;:53::i;:::-;6151:92;;6247:35;6285:60;6301:11;6285:60;;;;;;;;;;;;;;;;;:15;:60::i;:::-;6247:98;;6354:16;:23;6381:1;6354:28;6350:97;;6425:4;6396:46;;-1:-1:-1;;;6396:46:18;;;;;;;;:::i;:::-;;;;;;;;6350:97;6451:26;6496:16;:23;-1:-1:-1;;;;;6480:40:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6451:69;;6529:6;6524:617;6545:16;:23;6541:1;:27;6524:617;;;6619:28;6650:16;6667:1;6650:19;;;;;;;;:::i;:::-;;;;;;;6619:50;;6725:6;6720:388;6741:17;:24;6737:1;:28;6720:388;;;6835:33;6882:82;6914:17;6932:1;6914:20;;;;;;;;:::i;:::-;;;;;;;:23;;;6882:82;;;;;;;;;;;;;-1:-1:-1;;;6882:82:18;;;:31;:82::i;:::-;6871:111;;;;;;;;;;;;:::i;:::-;6835:147;;6992:49;7001:12;7014:1;7001:15;;;;;;;;:::i;:::-;;;;;;;7018:16;7035:1;7018:19;;;;;;;;:::i;:::-;;;;;;;:22;;;6992:8;:49::i;:::-;6988:115;;;7064:17;7082:1;7064:20;;;;;;;;:::i;:::-;;;;;;;7050:34;;7091:5;;;6988:115;-1:-1:-1;6767:3:18;;;;:::i;:::-;;;;6720:388;;;;7125:11;7112:7;7120:1;7112:10;;;;;;;;:::i;:::-;;;;;;:24;;;;6575:566;6570:3;;;;;:::i;:::-;;;;6524:617;;;;7145:29;7194:7;:14;-1:-1:-1;;;;;7177:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;7177:32:18;;;;;;;;;;;;;;;;7145:64;;7218:6;7213:259;7234:7;:14;7230:1;:18;7213:259;;;7260:23;7286:81;7318:7;7326:1;7318:10;;;;;;;;:::i;:::-;;;;;;;:13;;;7286:81;;;;;;;;;;;;;;;;;:31;:81::i;:::-;7260:107;;7372:10;7396;7385:32;;;;;;;;;;;;:::i;:::-;7372:45;;7437:30;;;;;;;;7448:3;-1:-1:-1;;;;;7437:30:18;;;;;7453:7;7461:1;7453:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;7437:30:18;;;;;7422:9;7432:1;7422:12;;;;;;;;:::i;:::-;;;;;;:45;;;;7255:217;;7250:3;;;;;:::i;:::-;;;;7213:259;;;-1:-1:-1;7517:16:18;;7508:6;7537:238;7558:5;7562:1;7558;:5;:::i;:::-;7554:1;:9;7537:238;;;7580:6;7589:5;:1;7593;7589:5;:::i;:::-;7580:14;;7575:196;7600:1;7596;:5;7575:196;;;7637:9;7647:1;7637:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;:9;7628:1;7618:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;;7614:152;;;7662:22;7687:9;7697:1;7687:12;;;;;;;;:::i;:::-;;;;;;;7662:37;;7721:9;7731:1;7721:12;;;;;;;;:::i;:::-;;;;;;;7706:9;7716:1;7706:12;;;;;;;;:::i;:::-;;;;;;:27;;;;7755:4;7740:9;7750:1;7740:12;;;;;;;;:::i;:::-;;;;;;:19;;;;7655:111;7614:152;7603:3;;;;:::i;:::-;;;;7575:196;;;-1:-1:-1;7565:3:18;;;;:::i;:::-;;;;7537:238;;;;7779:30;7830:7;:14;-1:-1:-1;;;;;7812:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7812:33:18;;7779:66;;7854:6;7849:87;7870:9;:16;7866:1;:20;7849:87;;;7913:9;7923:1;7913:12;;;;;;;;:::i;:::-;;;;;;;:18;;;7898:9;7908:1;7898:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;7898:33:18;;;:12;;;;;;;;;;;:33;7888:3;;;;:::i;:::-;;;;7849:87;;;;7947:62;7960:9;7971:11;7984:9;7947:62;;;;;;;;;;;;;-1:-1:-1;;;7947:62:18;;;:12;:62::i;:::-;7940:69;;;;;;;;5999:2014;;;;;:::o;10827:333::-;10917:12;10943:22;:20;:22::i;:::-;10935:31;;;;;;11048:20;11071:67;11103:5;11071:67;;;;;;;;;;;;;-1:-1:-1;;;11071:67:18;;;:31;:67::i;:::-;11048:90;10827:333;-1:-1:-1;;;;10827:333:18:o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;10548:276::-;10641:16;;:::i;:::-;10659:12;10682:40;10703:3;:6;;;10711:10;10682:40;;;;;;;:::i;:::-;;;;;;;;10731:61;10740:3;:6;;;10748:3;:23;;;10773:3;:18;;;10731:61;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;10804:3:18;;-1:-1:-1;10809:10:18;10548:276;;;;;;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;9764:781::-;9913:16;;:::i;:::-;9983;;;9997:1;9983:16;;;9931:12;9983:16;;;;;9931:12;9949:31;;9983:16;9997:1;9983:16;;;;;;;;;;-1:-1:-1;9983:16:18;9949:50;;10031:4;10003:14;10018:1;10003:17;;;;;;;;:::i;:::-;;;;;;:33;-1:-1:-1;;;;;10003:33:18;;;-1:-1:-1;;;;;10003:33:18;;;;;858:42:14;10040:14:18;10055:1;10040:17;;;;;;;;:::i;:::-;;;;;;:41;-1:-1:-1;;;;;10040:41:18;;;-1:-1:-1;;;;;10040:41:18;;;;;10086:25;10114:82;10127:11;10140:14;10156;10114:82;;;;;;;;;;;;;-1:-1:-1;;;10114:82:18;;;:12;:82::i;:::-;10086:110;;10200:84;10229:8;:11;;;10200:84;;;;;;;;;;;;;-1:-1:-1;;;10200:84:18;;;10278:4;10267:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;10200:28;:84::i;:::-;10293:23;10318:20;10342:54;10362:9;10373:8;:11;;;10386:9;10342:19;:54::i;:::-;10292:104;;;;10400:79;10429:8;:11;;;10400:79;;;;;;;;;;;;;-1:-1:-1;;;10400:79:18;;;10471:7;10400:28;:79::i;:::-;-1:-1:-1;10520:8:18;;;;-1:-1:-1;9764:781:18;-1:-1:-1;;;;;;9764:781:18:o;5720:276::-;5818:20;;;-1:-1:-1;;;;;;26426:52:20;;;5818:20:18;;;26414:65:20;5818:20:18;;;;;;;;;26495:12:20;;;5818:20:18;;26426:52:20;;;5859:20:18;;;26414:65:20;5859:20:18;;;;;;;;;26495:12:20;;;;5859:20:18;;;5791:4;;5818:20;5791:4;5883:94;5904:1;:8;5900:1;:12;5883:94;;;5943:1;5945;5943:4;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5928:19:18;;5934:1;5937;5928:11;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;5928:11:18;:19;5924:49;;5962:5;5955:12;;;;;;;5924:49;5914:3;;;;:::i;:::-;;;;5883:94;;;-1:-1:-1;5988:4:18;;5720:276;-1:-1:-1;;;;;5720:276:18:o;8016:1186::-;8114:12;8140:22;:20;:22::i;:::-;8132:31;;;;;;8168:26;8197:53;8213:11;8197:53;;;;;;;;;;;;;-1:-1:-1;;;8197:53:18;;;:15;:53::i;:::-;8168:82;;8258:7;:14;8276:1;8258:19;8254:88;;8320:4;8291:46;;-1:-1:-1;;;8291:46:18;;;;;;;;:::i;8254:88::-;8346:29;8395:7;:14;-1:-1:-1;;;;;8378:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;8378:32:18;;;;;;;;;;;;;;;;8346:64;;8419:6;8414:258;8435:7;:14;8431:1;:18;8414:258;;;8461:23;8487:80;8519:7;8527:1;8519:10;;;;;;;;:::i;:::-;;;;;;;:13;;;8487:80;;;;;;;;;;;;;;;;;:31;:80::i;:::-;8461:106;;8572:10;8596;8585:32;;;;;;;;;;;;:::i;:::-;8572:45;;8637:30;;;;;;;;8648:3;-1:-1:-1;;;;;8637:30:18;;;;;8653:7;8661:1;8653:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;8637:30:18;;;;;8622:9;8632:1;8622:12;;;;;;;;:::i;:::-;;;;;;:45;;;;8456:216;;8451:3;;;;;:::i;:::-;;;;8414:258;;;-1:-1:-1;8717:16:18;;8708:6;8737:238;8758:5;8762:1;8758;:5;:::i;:::-;8754:1;:9;8737:238;;;8780:6;8789:5;:1;8793;8789:5;:::i;:::-;8780:14;;8775:196;8800:1;8796;:5;8775:196;;;8837:9;8847:1;8837:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;:9;8828:1;8818:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;;8814:152;;;8862:22;8887:9;8897:1;8887:12;;;;;;;;:::i;:::-;;;;;;;8862:37;;8921:9;8931:1;8921:12;;;;;;;;:::i;:::-;;;;;;;8906:9;8916:1;8906:12;;;;;;;;:::i;:::-;;;;;;:27;;;;8955:4;8940:9;8950:1;8940:12;;;;;;;;:::i;:::-;;;;;;:19;;;;8855:111;8814:152;8803:3;;;;:::i;:::-;;;;8775:196;;;-1:-1:-1;8765:3:18;;;;:::i;:::-;;;;8737:238;;;;8979:30;9030:7;:14;-1:-1:-1;;;;;9012:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9012:33:18;;8979:66;;9054:6;9049:87;9070:9;:16;9066:1;:20;9049:87;;;9113:9;9123:1;9113:12;;;;;;;;:::i;:::-;;;;;;;:18;;;9098:9;9108:1;9098:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;9098:33:18;;;:12;;;;;;;;;;;:33;9088:3;;;;:::i;:::-;;;;9049:87;;;;9147:51;9160:9;9171:11;9184:9;9147:51;;;;;;;;;;;;:12;:51::i;:::-;9140:58;8016:1186;-1:-1:-1;;;;;;;8016:1186:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;2248:103::-;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;4684:327::-;4764:12;4789;4803:17;1413:42;-1:-1:-1;;;;;4824:21:14;4857:4;4863:9;4846:27;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4846:27:14;;;;;;;;;;4824:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4788:86;;;;4889:7;4884:78;;1413:42;4946:4;4919:32;;-1:-1:-1;;;4919:32:14;;;;;;;;;:::i;4884:78::-;4990:4;4979:25;;;;;;;;;;;;:::i;:::-;4972:32;4684:327;-1:-1:-1;;;;;4684:327:14:o;3339:345::-;3429:12;3454;3468:17;1056:42;-1:-1:-1;;;;;3489:38:14;3539:5;3546:3;3528:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3528:22:14;;;;;;;;;;3489:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3453:98;;;;3566:7;3561:95;;1056:42;3640:4;3596:49;;-1:-1:-1;;;3596:49:14;;;;;;;;;:::i;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;5360:486::-;5553:10;;:::i;:::-;5576:12;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;2610:435::-;2751:12;2765;2794;2808:17;858:42;-1:-1:-1;;;;;2829:26:14;2867:9;2878:5;2885:9;2856:39;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2856:39:14;;;;;;;;;;2829:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2793:103;;;;2911:7;2906:83;;858:42;2973:4;2941:37;;-1:-1:-1;;;2941:37:14;;;;;;;;;:::i;2906:83::-;3017:4;3006:32;;;;;;;;;;;;:::i;:::-;2999:39;;;;;;2610:435;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:20;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:255::-;476:2;470:9;518:6;506:19;;-1:-1:-1;;;;;540:34:20;;576:22;;;537:62;534:88;;;602:18;;:::i;664:253::-;736:2;730:9;778:4;766:17;;-1:-1:-1;;;;;798:34:20;;834:22;;;795:62;792:88;;;860:18;;:::i;922:275::-;993:2;987:9;1058:2;1039:13;;-1:-1:-1;;1035:27:20;1023:40;;-1:-1:-1;;;;;1078:34:20;;1114:22;;;1075:62;1072:88;;;1140:18;;:::i;:::-;1176:2;1169:22;922:275;;-1:-1:-1;922:275:20:o;1202:129::-;-1:-1:-1;;;;;1280:5:20;1276:30;1269:5;1266:41;1256:69;;1321:1;1318;1311:12;1256:69;1202:129;:::o;1336:132::-;1403:20;;1432:30;1403:20;1432:30;:::i;:::-;1336:132;;;:::o;1473:186::-;1521:4;-1:-1:-1;;;;;1546:6:20;1543:30;1540:56;;;1576:18;;:::i;:::-;-1:-1:-1;1642:2:20;1621:15;-1:-1:-1;;1617:29:20;1648:4;1613:40;;1473:186::o;1664:462::-;1706:5;1759:3;1752:4;1744:6;1740:17;1736:27;1726:55;;1777:1;1774;1767:12;1726:55;1813:6;1800:20;1844:48;1860:31;1888:2;1860:31;:::i;:::-;1844:48;:::i;:::-;1917:2;1908:7;1901:19;1963:3;1956:4;1951:2;1943:6;1939:15;1935:26;1932:35;1929:55;;;1980:1;1977;1970:12;1929:55;2045:2;2038:4;2030:6;2026:17;2019:4;2010:7;2006:18;1993:55;2093:1;2068:16;;;2086:4;2064:27;2057:38;;;;2072:7;1664:462;-1:-1:-1;;;1664:462:20:o;2131:131::-;-1:-1:-1;;;;;2206:31:20;;2196:42;;2186:70;;2252:1;2249;2242:12;2267:134;2335:20;;2364:31;2335:20;2364:31;:::i;2406:193::-;2476:4;-1:-1:-1;;;;;2501:6:20;2498:30;2495:56;;;2531:18;;:::i;:::-;-1:-1:-1;2576:1:20;2572:14;2588:4;2568:25;;2406:193::o;2604:1452::-;2668:5;2721:3;2714:4;2706:6;2702:17;2698:27;2688:55;;2739:1;2736;2729:12;2688:55;2775:6;2762:20;2801:4;2825:70;2841:53;2891:2;2841:53;:::i;2825:70::-;2929:15;;;3015:1;3011:10;;;;2999:23;;2995:32;;;2960:12;;;;3039:15;;;3036:35;;;3067:1;3064;3057:12;3036:35;3103:2;3095:6;3091:15;3115:912;3131:6;3126:3;3123:15;3115:912;;;3209:4;3203:3;3198;3194:13;3190:24;3187:114;;;3255:1;3284:2;3280;3273:14;3187:114;3327:22;;:::i;:::-;3390:3;3377:17;3407:32;3431:7;3407:32;:::i;:::-;3452:22;;3515:12;;;3502:26;3541:32;3502:26;3541:32;:::i;:::-;3593:14;;;3586:31;3640:2;3683:12;;;3670:26;3709:33;3670:26;3709:33;:::i;:::-;3762:14;;;3755:31;3809:2;3852:12;;;3839:26;3878:32;3839:26;3878:32;:::i;:::-;3930:14;;;3923:31;3967:18;;4005:12;;;;3157:4;3148:14;3115:912;;;-1:-1:-1;4045:5:20;2604:1452;-1:-1:-1;;;;;;2604:1452:20:o;4061:997::-;4122:5;4170:6;4158:9;4153:3;4149:19;4145:32;4142:52;;;4190:1;4187;4180:12;4142:52;4212:22;;:::i;:::-;4203:31;;4257:28;4275:9;4257:28;:::i;:::-;4250:5;4243:43;4337:2;4326:9;4322:18;4309:32;-1:-1:-1;;;;;4401:2:20;4393:6;4390:14;4387:34;;;4417:1;4414;4407:12;4387:34;4453:45;4494:3;4485:6;4474:9;4470:22;4453:45;:::i;:::-;4448:2;4441:5;4437:14;4430:69;4559:2;4548:9;4544:18;4531:32;4526:2;4519:5;4515:14;4508:56;4596:37;4629:2;4618:9;4614:18;4596:37;:::i;:::-;4591:2;4584:5;4580:14;4573:61;4667:39;4701:3;4690:9;4686:19;4667:39;:::i;:::-;4661:3;4654:5;4650:15;4643:64;4740:38;4773:3;4762:9;4758:19;4740:38;:::i;:::-;4734:3;4727:5;4723:15;4716:63;4840:3;4829:9;4825:19;4812:33;4806:3;4799:5;4795:15;4788:58;4899:3;4888:9;4884:19;4871:33;4855:49;;4929:2;4919:8;4916:16;4913:36;;;4945:1;4942;4935:12;4913:36;;4982:69;5047:3;5036:8;5025:9;5021:24;4982:69;:::i;:::-;4976:3;4969:5;4965:15;4958:94;;4061:997;;;;:::o;5063:170::-;-1:-1:-1;;;;;;5157:51:20;;5147:62;;5137:90;;5223:1;5220;5213:12;5238:172;5325:20;;5354:50;5325:20;5354:50;:::i;5415:1620::-;5595:6;5603;5611;5619;5672:3;5660:9;5651:7;5647:23;5643:33;5640:53;;;5689:1;5686;5679:12;5640:53;5729:9;5716:23;-1:-1:-1;;;;;5799:2:20;5791:6;5788:14;5785:34;;;5815:1;5812;5805:12;5785:34;5838:65;5895:7;5886:6;5875:9;5871:22;5838:65;:::i;:::-;5828:75;;5922:2;5912:12;;5974:2;5963:9;5959:18;5946:32;5987:30;6011:5;5987:30;:::i;:::-;6036:5;-1:-1:-1;6094:2:20;6079:18;;6066:32;6110:16;;;6107:36;;;6139:1;6136;6129:12;6107:36;6162:24;;6217:4;6209:13;;6205:27;-1:-1:-1;6195:55:20;;6246:1;6243;6236:12;6195:55;6282:2;6269:16;6305:70;6321:53;6371:2;6321:53;:::i;6305:70::-;6409:15;;;6491:1;6487:10;;;;6479:19;;6475:28;;;6440:12;;;;6515:19;;;6512:39;;;6547:1;6544;6537:12;6512:39;6571:11;;;;6591:242;6607:6;6602:3;6599:15;6591:242;;;6689:3;6676:17;6706:52;6750:7;6706:52;:::i;:::-;6771:20;;6624:12;;;;6811;;;;6591:242;;;6852:5;-1:-1:-1;;;;6910:2:20;6895:18;;6882:32;;-1:-1:-1;6926:16:20;;;6923:36;;;6955:1;6952;6945:12;6923:36;;6978:51;7021:7;7010:8;6999:9;6995:24;6978:51;:::i;:::-;6968:61;;;5415:1620;;;;;;;:::o;7040:250::-;7125:1;7135:113;7149:6;7146:1;7143:13;7135:113;;;7225:11;;;7219:18;7206:11;;;7199:39;7171:2;7164:10;7135:113;;;-1:-1:-1;;7282:1:20;7264:16;;7257:27;7040:250::o;7295:270::-;7336:3;7374:5;7368:12;7401:6;7396:3;7389:19;7417:76;7486:6;7479:4;7474:3;7470:14;7463:4;7456:5;7452:16;7417:76;:::i;:::-;7547:2;7526:15;-1:-1:-1;;7522:29:20;7513:39;;;;7554:4;7509:50;;7295:270;-1:-1:-1;;7295:270:20:o;7570:217::-;7717:2;7706:9;7699:21;7680:4;7737:44;7777:2;7766:9;7762:18;7754:6;7737:44;:::i;:::-;7729:52;7570:217;-1:-1:-1;;;7570:217:20:o;7792:493::-;7892:6;7900;7953:2;7941:9;7932:7;7928:23;7924:32;7921:52;;;7969:1;7966;7959:12;7921:52;8009:9;7996:23;-1:-1:-1;;;;;8034:6:20;8031:30;8028:50;;;8074:1;8071;8064:12;8028:50;8097:65;8154:7;8145:6;8134:9;8130:22;8097:65;:::i;:::-;8087:75;;;8212:2;8201:9;8197:18;8184:32;8225:30;8249:5;8225:30;:::i;:::-;8274:5;8264:15;;;7792:493;;;;;:::o;8290:501::-;8394:6;8402;8455:2;8443:9;8434:7;8430:23;8426:32;8423:52;;;8471:1;8468;8461:12;8423:52;8510:9;8497:23;8529:50;8573:5;8529:50;:::i;:::-;8598:5;-1:-1:-1;8654:2:20;8639:18;;8626:32;-1:-1:-1;;;;;8670:30:20;;8667:50;;;8713:1;8710;8703:12;8667:50;8736:49;8777:7;8768:6;8757:9;8753:22;8736:49;:::i;:::-;8726:59;;;8290:501;;;;;:::o;8796:747::-;8850:5;8903:3;8896:4;8888:6;8884:17;8880:27;8870:55;;8921:1;8918;8911:12;8870:55;8957:6;8944:20;8983:4;9007:70;9023:53;9073:2;9023:53;:::i;9007:70::-;9111:15;;;9197:1;9193:10;;;;9181:23;;9177:32;;;9142:12;;;;9221:15;;;9218:35;;;9249:1;9246;9239:12;9218:35;9285:2;9277:6;9273:15;9297:217;9313:6;9308:3;9305:15;9297:217;;;9393:3;9380:17;9410:31;9435:5;9410:31;:::i;:::-;9454:18;;9492:12;;;;9330;;9297:217;;9548:1404;9647:6;9655;9708:2;9696:9;9687:7;9683:23;9679:32;9676:52;;;9724:1;9721;9714:12;9676:52;9764:9;9751:23;-1:-1:-1;;;;;9834:2:20;9826:6;9823:14;9820:34;;;9850:1;9847;9840:12;9820:34;9873:22;;;;9929:4;9911:16;;;9907:27;9904:47;;;9947:1;9944;9937:12;9904:47;9973:22;;:::i;:::-;10018:41;10056:2;10018:41;:::i;:::-;10011:5;10004:56;10092:50;10138:2;10134;10130:11;10092:50;:::i;:::-;10087:2;10080:5;10076:14;10069:74;10175:30;10201:2;10197;10193:11;10175:30;:::i;:::-;10170:2;10163:5;10159:14;10152:54;10252:2;10248;10244:11;10231:25;10281:2;10271:8;10268:16;10265:36;;;10297:1;10294;10287:12;10265:36;10333:56;10381:7;10370:8;10366:2;10362:17;10333:56;:::i;:::-;10328:2;10321:5;10317:14;10310:80;;10436:3;10432:2;10428:12;10415:26;10466:2;10456:8;10453:16;10450:36;;;10482:1;10479;10472:12;10450:36;10519:56;10567:7;10556:8;10552:2;10548:17;10519:56;:::i;:::-;10513:3;10506:5;10502:15;10495:81;;10622:3;10618:2;10614:12;10601:26;10652:2;10642:8;10639:16;10636:36;;;10668:1;10665;10658:12;10636:36;10705:44;10741:7;10730:8;10726:2;10722:17;10705:44;:::i;:::-;10699:3;10688:15;;10681:69;-1:-1:-1;10692:5:20;-1:-1:-1;10827:2:20;10812:18;;10799:32;;-1:-1:-1;10843:16:20;;;10840:36;;;10872:1;10869;10862:12;10840:36;;10895:51;10938:7;10927:8;10916:9;10912:24;10895:51;:::i;11064:461::-;11117:3;11155:5;11149:12;11182:6;11177:3;11170:19;11208:4;11237:2;11232:3;11228:12;11221:19;;11274:2;11267:5;11263:14;11295:1;11305:195;11319:6;11316:1;11313:13;11305:195;;;11384:13;;-1:-1:-1;;;;;11380:39:20;11368:52;;11440:12;;;;11475:15;;;;11416:1;11334:9;11305:195;;;-1:-1:-1;11516:3:20;;11064:461;-1:-1:-1;;;;;11064:461:20:o;11530:1191::-;11749:2;11738:9;11731:21;11712:4;-1:-1:-1;;;;;11771:39:20;11865:2;11856:6;11850:13;11846:22;11841:2;11830:9;11826:18;11819:50;11935:2;11927:4;11919:6;11915:17;11909:24;11905:33;11900:2;11889:9;11885:18;11878:61;;-1:-1:-1;;;;;11998:2:20;11990:6;11986:15;11980:22;11976:47;11970:3;11959:9;11955:19;11948:76;12071:2;12063:6;12059:15;12053:22;12112:4;12106:3;12095:9;12091:19;12084:33;12140:63;12198:3;12187:9;12183:19;12169:12;12140:63;:::i;:::-;12126:77;;12252:3;12244:6;12240:16;12234:23;12280:2;12276:7;12349:2;12337:9;12329:6;12325:22;12321:31;12314:4;12303:9;12299:20;12292:61;12376:52;12421:6;12405:14;12376:52;:::i;:::-;12362:66;;12477:3;12469:6;12465:16;12459:23;12437:45;;12547:2;12535:9;12527:6;12523:22;12519:31;12513:3;12502:9;12498:19;12491:60;;12571:40;12604:6;12588:14;12571:40;:::i;:::-;12560:51;;;12658:9;12653:3;12649:19;12642:4;12631:9;12627:20;12620:49;12686:29;12711:3;12703:6;12686:29;:::i;12726:384::-;12809:6;12862:2;12850:9;12841:7;12837:23;12833:32;12830:52;;;12878:1;12875;12868:12;12830:52;12918:9;12905:23;-1:-1:-1;;;;;12943:6:20;12940:30;12937:50;;;12983:1;12980;12973:12;12937:50;13006:22;;13062:3;13044:16;;;13040:26;13037:46;;;13079:1;13076;13069:12;13115:480;13237:6;13245;13298:2;13286:9;13277:7;13273:23;13269:32;13266:52;;;13314:1;13311;13304:12;13266:52;13353:9;13340:23;13372:50;13416:5;13372:50;:::i;:::-;13441:5;-1:-1:-1;13498:2:20;13483:18;;13470:32;13511:52;13470:32;13511:52;:::i;13792:786::-;13855:3;13893:5;13887:12;13920:6;13915:3;13908:19;13946:4;13975:2;13970:3;13966:12;13959:19;;14012:2;14005:5;14001:14;14033:1;14043:510;14057:6;14054:1;14051:13;14043:510;;;14116:13;;14199:9;;-1:-1:-1;;;;;14195:18:20;;;14183:31;;14258:11;;;14252:18;14248:27;;14234:12;;;14227:49;14299:4;14347:11;;;14341:18;-1:-1:-1;;;;;14337:44:20;14323:12;;;14316:66;14405:4;14453:11;;;14447:18;14443:27;14429:12;;;14422:49;14500:4;14491:14;;;;14528:15;;;;14378:1;14072:9;14043:510;;14583:877;14640:3;14668:6;-1:-1:-1;;;;;14750:2:20;14742:5;14736:12;14732:21;14727:3;14720:34;14800:4;14793:5;14789:16;14783:23;14838:2;14831:4;14826:3;14822:14;14815:26;14862:44;14902:2;14897:3;14893:12;14879;14862:44;:::i;:::-;14850:56;;;14955:4;14948:5;14944:16;14938:23;14931:4;14926:3;14922:14;14915:47;15023:2;15015:4;15008:5;15004:16;14998:23;14994:32;14987:4;14982:3;14978:14;14971:56;;15105:1;15101;15096:3;15092:11;15088:19;15080:4;15073:5;15069:16;15063:23;15059:49;15052:4;15047:3;15043:14;15036:73;15157:4;15150:5;15146:16;15140:23;15172:49;15215:4;15210:3;15206:14;15190;-1:-1:-1;;;;;11022:30:20;11010:43;;10957:102;15172:49;;15270:4;15263:5;15259:16;15253:23;15246:4;15241:3;15237:14;15230:47;15325:4;15318:5;15314:16;15308:23;15373:3;15367:4;15363:14;15356:4;15351:3;15347:14;15340:38;15394:60;15449:4;15433:14;15394:60;:::i;15465:500::-;15537:3;15575:5;15569:12;15602:6;15597:3;15590:19;15628:4;15657:2;15652:3;15648:12;15641:19;;15694:2;15687:5;15683:14;15715:1;15725:215;15739:6;15736:1;15733:13;15725:215;;;15804:13;;-1:-1:-1;;;;;;15800:59:20;15788:72;;15880:12;;;;15915:15;;;;15761:1;15754:9;15725:215;;15970:789;16344:3;16333:9;16326:22;16307:4;16371:61;16427:3;16416:9;16412:19;16404:6;16371:61;:::i;:::-;-1:-1:-1;;;;;16472:6:20;16468:31;16463:2;16452:9;16448:18;16441:59;16548:9;16540:6;16536:22;16531:2;16520:9;16516:18;16509:50;16582:63;16638:6;16630;16582:63;:::i;:::-;16568:77;;16693:9;16685:6;16681:22;16676:2;16665:9;16661:18;16654:50;16721:32;16746:6;16738;16721:32;:::i;16764:176::-;16862:13;;16884:50;16862:13;16884:50;:::i;16945:136::-;17023:13;;17045:30;17023:13;17045:30;:::i;17086:744::-;17151:5;17204:3;17197:4;17189:6;17185:17;17181:27;17171:55;;17222:1;17219;17212:12;17171:55;17251:6;17245:13;17277:4;17301:70;17317:53;17367:2;17317:53;:::i;17301:70::-;17405:15;;;17491:1;17487:10;;;;17475:23;;17471:32;;;17436:12;;;;17515:15;;;17512:35;;;17543:1;17540;17533:12;17512:35;17579:2;17571:6;17567:15;17591:210;17607:6;17602:3;17599:15;17591:210;;;17680:3;17674:10;17697:31;17722:5;17697:31;:::i;:::-;17741:18;;17779:12;;;;17624;;17591:210;;17835:442;17889:5;17942:3;17935:4;17927:6;17923:17;17919:27;17909:55;;17960:1;17957;17950:12;17909:55;17989:6;17983:13;18020:48;18036:31;18064:2;18036:31;:::i;18020:48::-;18093:2;18084:7;18077:19;18139:3;18132:4;18127:2;18119:6;18115:15;18111:26;18108:35;18105:55;;;18156:1;18153;18146:12;18105:55;18169:77;18243:2;18236:4;18227:7;18223:18;18216:4;18208:6;18204:17;18169:77;:::i;18282:1060::-;18343:5;18391:4;18379:9;18374:3;18370:19;18366:30;18363:50;;;18409:1;18406;18399:12;18363:50;18431:22;;:::i;:::-;18422:31;;18476:59;18525:9;18476:59;:::i;:::-;18469:5;18462:74;18568:68;18632:2;18621:9;18617:18;18568:68;:::i;:::-;18563:2;18556:5;18552:14;18545:92;18669:48;18713:2;18702:9;18698:18;18669:48;:::i;:::-;18664:2;18657:5;18653:14;18646:72;18762:2;18751:9;18747:18;18741:25;-1:-1:-1;;;;;18826:2:20;18818:6;18815:14;18812:34;;;18842:1;18839;18832:12;18812:34;18878:68;18942:3;18933:6;18922:9;18918:22;18878:68;:::i;:::-;18873:2;18866:5;18862:14;18855:92;18993:3;18982:9;18978:19;18972:26;18956:42;;19023:2;19013:8;19010:16;19007:36;;;19039:1;19036;19029:12;19007:36;19076:70;19142:3;19131:8;19120:9;19116:24;19076:70;:::i;:::-;19070:3;19063:5;19059:15;19052:95;19193:3;19182:9;19178:19;19172:26;19156:42;;19223:2;19213:8;19210:16;19207:36;;;19239:1;19236;19229:12;19207:36;;19276:59;19331:3;19320:8;19309:9;19305:24;19276:59;:::i;:::-;19270:3;19263:5;19259:15;19252:84;;18282:1060;;;;:::o;19347:577::-;19457:6;19465;19518:2;19506:9;19497:7;19493:23;19489:32;19486:52;;;19534:1;19531;19524:12;19486:52;19567:9;19561:16;-1:-1:-1;;;;;19637:2:20;19629:6;19626:14;19623:34;;;19653:1;19650;19643:12;19623:34;19676:65;19733:7;19724:6;19713:9;19709:22;19676:65;:::i;:::-;19666:75;;19787:2;19776:9;19772:18;19766:25;19750:41;;19816:2;19806:8;19803:16;19800:36;;;19832:1;19829;19822:12;19800:36;;19855:63;19910:7;19899:8;19888:9;19884:24;19855:63;:::i;19929:361::-;-1:-1:-1;;;;;20143:39:20;20135:6;20131:52;20120:9;20113:71;20220:2;20215;20204:9;20200:18;20193:30;20094:4;20240:44;20280:2;20269:9;20265:18;20257:6;20240:44;:::i;20295:499::-;-1:-1:-1;;;;;20567:39:20;20559:6;20555:52;20544:9;20537:71;-1:-1:-1;;;;;20648:6:20;20644:31;20639:2;20628:9;20624:18;20617:59;20712:2;20707;20696:9;20692:18;20685:30;20518:4;20732:56;20784:2;20773:9;20769:18;20761:6;20732:56;:::i;20799:384::-;-1:-1:-1;;;;;;20984:33:20;;20972:46;;21041:13;;20954:3;;21063:74;21041:13;21126:1;21117:11;;21110:4;21098:17;;21063:74;:::i;:::-;21157:16;;;;21175:1;21153:24;;20799:384;-1:-1:-1;;;20799:384:20:o;21188:427::-;-1:-1:-1;;;;;21417:32:20;;;;21399:51;;21486:2;21481;21466:18;;21459:30;;;21525:1;21505:18;;;21498:29;-1:-1:-1;;;21558:2:20;21543:18;;21536:37;21605:3;21590:19;;21188:427::o;21620:127::-;21681:10;21676:3;21672:20;21669:1;21662:31;21712:4;21709:1;21702:15;21736:4;21733:1;21726:15;21752:1012;21874:6;21905:2;21948;21936:9;21927:7;21923:23;21919:32;21916:52;;;21964:1;21961;21954:12;21916:52;21997:9;21991:16;-1:-1:-1;;;;;22022:6:20;22019:30;22016:50;;;22062:1;22059;22052:12;22016:50;22085:22;;22138:4;22130:13;;22126:27;-1:-1:-1;22116:55:20;;22167:1;22164;22157:12;22116:55;22196:2;22190:9;22219:70;22235:53;22285:2;22235:53;:::i;22219:70::-;22323:15;;;22405:1;22401:10;;;;22393:19;;22389:28;;;22354:12;;;;22429:19;;;22426:39;;;22461:1;22458;22451:12;22426:39;22485:11;;;;22505:229;22521:6;22516:3;22513:15;22505:229;;;22594:3;22588:10;22611:50;22655:5;22611:50;:::i;:::-;22674:18;;22538:12;;;;22712;;;;22505:229;;22769:127;22830:10;22825:3;22821:20;22818:1;22811:31;22861:4;22858:1;22851:15;22885:4;22882:1;22875:15;22901:135;22940:3;22961:17;;;22958:43;;22981:18;;:::i;:::-;-1:-1:-1;23028:1:20;23017:13;;22901:135::o;23041:249::-;23110:6;23163:2;23151:9;23142:7;23138:23;23134:32;23131:52;;;23179:1;23176;23169:12;23131:52;23211:9;23205:16;23230:30;23254:5;23230:30;:::i;23295:128::-;23362:9;;;23383:11;;;23380:37;;;23397:18;;:::i;23428:125::-;23493:9;;;23514:10;;;23511:36;;;23527:18;;:::i;23558:336::-;23637:6;23690:2;23678:9;23669:7;23665:23;23661:32;23658:52;;;23706:1;23703;23696:12;23658:52;23739:9;23733:16;-1:-1:-1;;;;;23764:6:20;23761:30;23758:50;;;23804:1;23801;23794:12;23758:50;23827:61;23880:7;23871:6;23860:9;23856:22;23827:61;:::i;23899:293::-;23985:6;24038:2;24026:9;24017:7;24013:23;24009:32;24006:52;;;24054:1;24051;24044:12;24006:52;24093:9;24080:23;24112:50;24156:5;24112:50;:::i;24197:245::-;24255:6;24308:2;24296:9;24287:7;24283:23;24279:32;24276:52;;;24324:1;24321;24314:12;24276:52;24363:9;24350:23;24382:30;24406:5;24382:30;:::i;24447:545::-;24540:4;24546:6;24606:11;24593:25;24700:2;24696:7;24685:8;24669:14;24665:29;24661:43;24641:18;24637:68;24627:96;;24719:1;24716;24709:12;24627:96;24746:33;;24798:20;;;-1:-1:-1;;;;;;24830:30:20;;24827:50;;;24873:1;24870;24863:12;24827:50;24906:4;24894:17;;-1:-1:-1;24957:1:20;24953:14;;;24937;24933:35;24923:46;;24920:66;;;24982:1;24979;24972:12;24997:944;25230:4;25278:2;25267:9;25263:18;-1:-1:-1;;;;;25320:39:20;25312:6;25308:52;25297:9;25290:71;25380:2;-1:-1:-1;;;;;25422:6:20;25418:31;25413:2;25402:9;25398:18;25391:59;25486:2;25481;25470:9;25466:18;25459:30;25509:6;25539;25531;25524:22;25577:3;25566:9;25562:19;25555:26;;25604:6;25590:20;;25628:1;25638:277;25652:6;25649:1;25646:13;25638:277;;;25727:6;25714:20;25747:31;25772:5;25747:31;:::i;:::-;-1:-1:-1;;;;;25803:31:20;25791:44;;25890:15;;;;25855:12;;;;25831:1;25667:9;25638:277;;;-1:-1:-1;25932:3:20;24997:944;-1:-1:-1;;;;;;;;24997:944:20:o;25946:307::-;26152:2;26141:9;26134:21;26115:4;26172:75;26243:2;26232:9;26228:18;26220:6;26172:75;:::i;26728:314::-;-1:-1:-1;;;;;26903:32:20;;26885:51;;26972:2;26967;26952:18;;26945:30;;;-1:-1:-1;;26992:44:20;;27017:18;;27009:6;26992:44;:::i;27047:313::-;-1:-1:-1;;;;;27226:6:20;27222:31;27211:9;27204:50;27290:2;27285;27274:9;27270:18;27263:30;27185:4;27310:44;27350:2;27339:9;27335:18;27327:6;27310:44;:::i;27365:287::-;27494:3;27532:6;27526:13;27548:66;27607:6;27602:3;27595:4;27587:6;27583:17;27548:66;:::i;:::-;27630:16;;;;;27365:287;-1:-1:-1;;27365:287:20:o;27657:1160::-;27774:6;27805:2;27848;27836:9;27827:7;27823:23;27819:32;27816:52;;;27864:1;27861;27854:12;27816:52;27897:9;27891:16;-1:-1:-1;;;;;27967:2:20;27959:6;27956:14;27953:34;;;27983:1;27980;27973:12;27953:34;28021:6;28010:9;28006:22;27996:32;;28066:7;28059:4;28055:2;28051:13;28047:27;28037:55;;28088:1;28085;28078:12;28037:55;28117:2;28111:9;28140:70;28156:53;28206:2;28156:53;:::i;28140:70::-;28244:15;;;28326:1;28322:10;;;;28314:19;;28310:28;;;28275:12;;;;28350:19;;;28347:39;;;28382:1;28379;28372:12;28347:39;28414:2;28410;28406:11;28426:361;28442:6;28437:3;28434:15;28426:361;;;28521:3;28515:10;28557:2;28544:11;28541:19;28538:109;;;28601:1;28630:2;28626;28619:14;28538:109;28672:72;28736:7;28731:2;28717:11;28713:2;28709:20;28705:29;28672:72;:::i;:::-;28660:85;;-1:-1:-1;28765:12:20;;;;28459;;28426:361;;29190:723;-1:-1:-1;;;;;29525:6:20;29521:31;29510:9;29503:50;29589:3;29584:2;29573:9;29569:18;29562:31;29484:4;29616:57;29668:3;29657:9;29653:19;29645:6;29616:57;:::i;:::-;29721:9;29713:6;29709:22;29704:2;29693:9;29689:18;29682:50;29755:44;29792:6;29784;29755:44;:::i;29918:353::-;30010:6;30063:2;30051:9;30042:7;30038:23;30034:32;30031:52;;;30079:1;30076;30069:12;30031:52;30112:9;30106:16;-1:-1:-1;;;;;30137:6:20;30134:30;30131:50;;;30177:1;30174;30167:12;30131:50;30200:65;30257:7;30248:6;30237:9;30233:22;30200:65;:::i;30276:523::-;-1:-1:-1;;;;;30538:39:20;30530:6;30526:52;30515:9;30508:71;30615:2;30610;30599:9;30595:18;30588:30;30489:4;30641:44;30681:2;30670:9;30666:18;30658:6;30641:44;:::i;:::-;30733:9;30725:6;30721:22;30716:2;30705:9;30701:18;30694:50;30761:32;30786:6;30778;30761:32;:::i;:::-;30753:40;30276:523;-1:-1:-1;;;;;;30276:523:20:o;30804:587::-;31102:2;31091:9;31084:21;31065:4;31128:60;31184:2;31173:9;31169:18;31161:6;31128:60;:::i;:::-;-1:-1:-1;;;;;;31224:52:20;;31219:2;31204:18;;31197:80;31313:22;;;31308:2;31293:18;;31286:50;31353:32;31317:6;31370;31353:32;:::i;31396:560::-;31493:6;31501;31554:2;31542:9;31533:7;31529:23;31525:32;31522:52;;;31570:1;31567;31560:12;31522:52;31603:9;31597:16;-1:-1:-1;;;;;31673:2:20;31665:6;31662:14;31659:34;;;31689:1;31686;31679:12;31659:34;31712:61;31765:7;31756:6;31745:9;31741:22;31712:61;:::i", - "linkReferences": {} + "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a" }, - "methodIdentifiers": { - "buildAndEmit((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "4c8820f8", - "buildFromPool((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "ebb89de4", - "buildMevShare((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "54dfbd39", - "doBuild((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "c2eceb11", - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "emitBuilderBidAndBid((bytes16,bytes16,uint64,address[],address[],string),bytes)": "b33e4715", - "fetchBidConfidentialBundleData()": "92f07a58", - "idsEqual(bytes16,bytes16)": "e829cd5d", - "unlock(bytes16,bytes)": "7df1cde2" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"BuilderBoostBidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"buildAndEmit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildFromPool\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildMevShare\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"doBuild\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"emitBuilderBidAndBid\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"_l\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"_r\",\"type\":\"bytes16\"}],\"name\":\"idsEqual\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"bytes\",\"name\":\"signedBlindedHeader\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"EthBlockBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "bytes", - "name": "builderBid", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "BuilderBoostBidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - }, - { - "internalType": "Suave.BidId[]", - "name": "bids", - "type": "bytes16[]" - }, - { - "internalType": "string", - "name": "namespace", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "buildAndEmit", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "buildFromPool", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "buildMevShare", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - }, - { - "internalType": "Suave.BidId[]", - "name": "bids", - "type": "bytes16[]" - }, - { - "internalType": "string", - "name": "namespace", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "doBuild", - "outputs": [ - { - "internalType": "struct Suave.Bid", - "name": "", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "builderBid", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBuilderBidAndBid", - "outputs": [ - { - "internalType": "struct Suave.Bid", - "name": "", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "_l", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "_r", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "idsEqual", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16" - }, - { - "internalType": "bytes", - "name": "signedBlindedHeader", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "unlock", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "EthBlockBidContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] - }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x608060405234801561001057600080fd5b506125db806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a636600461189a565b61016e565b6040516100b891906119e1565b60405180910390f35b6100ab6100cf3660046119fb565b6102d1565b6100ab6100e2366004611a4c565b6108a1565b6100ab6108f9565b6101026100fd366004611aff565b610932565b6040516100b8929190611c45565b61012361011e366004611ce8565b6109cd565b005b61010261013336600461189a565b610a33565b61014b610146366004611d22565b610bc9565b60405190151581526020016100b8565b6100ab6101693660046119fb565b610c8d565b6060610178611051565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611e83565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612050565b915091507f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f82600001518260405161022d9291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e826000015183604001518460600151604051610274939291906120cc565b60405180910390a160405163b33e471560e01b906102989084908490602001611c45565b60408051601f19818403018152908290526102b692916020016120fe565b60405160208183030381529060405292505050949350505050565b60606102db611051565b6102e457600080fd5b600061031d83604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506110d1565b90506000610360846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506110d1565b9050805160000361038f57306040516375fff46760e01b8152600401610386919061212f565b60405180910390fd5b600081516001600160401b038111156103aa576103aa611555565b6040519080825280602002602001820160405280156103e357816020015b6103d0611521565b8152602001906001900390816103c85790505b50905060005b825181101561053657600083828151811061040657610406612162565b6020026020010151905060005b855181101561050357600061047387838151811061043357610433612162565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b815250611199565b8060200190518101906104869190612178565b90506104c98160008151811061049e5761049e612162565b60200260200101518786815181106104b8576104b8612162565b602002602001015160000151610bc9565b156104f0578682815181106104e0576104e0612162565b6020026020010151925050610503565b50806104fb8161221c565b915050610413565b508083838151811061051757610517612162565b602002602001018190525050808061052e9061221c565b9150506103e9565b50600081516001600160401b0381111561055257610552611555565b60405190808252806020026020018201604052801561059757816020015b60408051808201909152600080825260208201528152602001906001900390816105705790505b50905060005b82518110156106955760006106048483815181106105bd576105bd612162565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c747300815250611199565b905060008180602001905181019061061c9190612235565b90506040518060400160405280826001600160401b0316815260200186858151811061064a5761064a612162565b6020026020010151600001516001600160801b03191681525084848151811061067557610675612162565b60200260200101819052505050808061068d9061221c565b91505061059d565b50805160005b6106a6600183612252565b8110156107b35760006106ba826001612265565b90505b828110156107a0578381815181106106d7576106d7612162565b6020026020010151600001516001600160401b03168483815181106106fe576106fe612162565b6020026020010151600001516001600160401b0316101561078e57600084838151811061072d5761072d612162565b6020026020010151905084828151811061074957610749612162565b602002602001015185848151811061076357610763612162565b60200260200101819052508085838151811061078157610781612162565b6020026020010181905250505b806107988161221c565b9150506106bd565b50806107ab8161221c565b91505061069b565b50600083516001600160401b038111156107cf576107cf611555565b6040519080825280602002602001820160405280156107f8578160200160208202803683370190505b50905060005b83518110156108625783818151811061081957610819612162565b60200260200101516020015182828151811061083757610837612162565b6001600160801b0319909216602092830291909101909101528061085a8161221c565b9150506107fe565b506108928989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606108ab611051565b6108b457600080fd5b60006108f18460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250611199565b949350505050565b6060610903611051565b61090c57600080fd5b6000610916611244565b90508080602001905181019061092c9190612278565b91505090565b61093a611521565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109719291906120a9565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8460000151856040015186606001516040516109b8939291906120cc565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6109fb60208301836122ac565b610a0b60608401604085016122c9565b610a1860608501856122e6565b604051610a28949392919061232f565b60405180910390a150565b610a3b611521565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610a7457610a74612162565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610aac57610aac612162565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b078783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506112d6565b9050610b6481600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610b5091906123a4565b60405160208183030381529060405261139f565b600080610b768a846000015189611451565b91509150610bba836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152508361139f565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610c8157818181518110610c2857610c28612162565b602001015160f81c60f81b6001600160f81b031916838281518110610c4f57610c4f612162565b01602001516001600160f81b03191614610c6f576000935050505061089b565b80610c798161221c565b915050610c0d565b50600195945050505050565b6060610c97611051565b610ca057600080fd5b6000610cd9836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506110d1565b90508051600003610cff57306040516375fff46760e01b8152600401610386919061212f565b600081516001600160401b03811115610d1a57610d1a611555565b604051908082528060200260200182016040528015610d5f57816020015b6040805180820190915260008082526020820152815260200190600190039081610d385790505b50905060005b8251811015610e5d576000610dcc848381518110610d8557610d85612162565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c74730000815250611199565b9050600081806020019051810190610de49190612235565b90506040518060400160405280826001600160401b03168152602001868581518110610e1257610e12612162565b6020026020010151600001516001600160801b031916815250848481518110610e3d57610e3d612162565b602002602001018190525050508080610e559061221c565b915050610d65565b50805160005b610e6e600183612252565b811015610f7b576000610e82826001612265565b90505b82811015610f6857838181518110610e9f57610e9f612162565b6020026020010151600001516001600160401b0316848381518110610ec657610ec6612162565b6020026020010151600001516001600160401b03161015610f56576000848381518110610ef557610ef5612162565b60200260200101519050848281518110610f1157610f11612162565b6020026020010151858481518110610f2b57610f2b612162565b602002602001018190525080858381518110610f4957610f49612162565b6020026020010181905250505b80610f608161221c565b915050610e85565b5080610f738161221c565b915050610e63565b50600083516001600160401b03811115610f9757610f97611555565b604051908082528060200260200182016040528015610fc0578160200160208202803683370190505b50905060005b835181101561102a57838181518110610fe157610fe1612162565b602002602001015160200151828281518110610fff57610fff612162565b6001600160801b031990921660209283029190910190910152806110228161221c565b915050610fc6565b506110468787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d8060008114611097576040519150601f19603f3d011682016040523d82523d6000602084013e61109c565b606091505b5091509150816110c7576342010000816040516375fff46760e01b81526004016103869291906123b7565b6020015192915050565b606060008063420300016001600160a01b031685856040516020016110f79291906123db565b60408051601f1981840301815290829052611111916123fd565b600060405180830381855afa9150503d806000811461114c576040519150601f19603f3d011682016040523d82523d6000602084013e611151565b606091505b50915091508161117c576342030001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906111909190612419565b95945050505050565b606060008063420200016001600160a01b031685856040516020016111bf9291906120a9565b60408051601f19818403018152908290526111d9916123fd565b600060405180830381855afa9150503d8060008114611214576040519150601f19603f3d011682016040523d82523d6000602084013e611219565b606091505b5091509150816108f1576342020001816040516375fff46760e01b81526004016103869291906123b7565b60408051600080825260208201928390526060929091829163420100019161126b916123fd565b600060405180830381855afa9150503d80600081146112a6576040519150601f19603f3d011682016040523d82523d6000602084013e6112ab565b606091505b50915091508161089b576342010001816040516375fff46760e01b81526004016103869291906123b7565b6112de611521565b60008063420300006001600160a01b03168787878760405160200161130694939291906124bc565b60408051601f1981840301815290829052611320916123fd565b600060405180830381855afa9150503d806000811461135b576040519150601f19603f3d011682016040523d82523d6000602084013e611360565b606091505b50915091508161138b576342030000816040516375fff46760e01b81526004016103869291906123b7565b8080602001905181019061104691906124f0565b60008063420200006001600160a01b03168585856040516020016113c593929190612524565b60408051601f19818403018152908290526113df916123fd565b600060405180830381855afa9150503d806000811461141a576040519150601f19603f3d011682016040523d82523d6000602084013e61141f565b606091505b50915091508161144a576342020000816040516375fff46760e01b81526004016103869291906123b7565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161147a93929190612563565b60408051601f1981840301815290829052611494916123fd565b600060405180830381855afa9150503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b5091509150816114ff576342100001816040516375fff46760e01b81526004016103869291906123b7565b808060200190518101906115139190612598565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561158d5761158d611555565b60405290565b60405161010081016001600160401b038111828210171561158d5761158d611555565b60405160c081016001600160401b038111828210171561158d5761158d611555565b604051601f8201601f191681016001600160401b038111828210171561160057611600611555565b604052919050565b6001600160401b038116811461161d57600080fd5b50565b803561162b81611608565b919050565b60006001600160401b0382111561164957611649611555565b50601f01601f191660200190565b600082601f83011261166857600080fd5b813561167b61167682611630565b6115d8565b81815284602083860101111561169057600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461161d57600080fd5b803561162b816116ad565b60006001600160401b038211156116e6576116e6611555565b5060051b60200190565b600082601f83011261170157600080fd5b81356020611711611676836116cd565b82815260079290921b8401810191818101908684111561173057600080fd5b8286015b848110156117a7576080818903121561174d5760008081fd5b61175561156b565b813561176081611608565b81528185013561176f81611608565b81860152604082810135611782816116ad565b9082015260608281013561179581611608565b90820152835291830191608001611734565b509695505050505050565b600061010082840312156117c557600080fd5b6117cd611593565b90506117d882611620565b815260208201356001600160401b03808211156117f457600080fd5b61180085838601611657565b60208401526040840135604084015261181b60608501611620565b606084015261182c608085016116c2565b608084015261183d60a08501611620565b60a084015260c084013560c084015260e084013591508082111561186057600080fd5b5061186d848285016116f0565b60e08301525092915050565b6001600160801b03198116811461161d57600080fd5b803561162b81611879565b600080600080608085870312156118b057600080fd5b84356001600160401b03808211156118c757600080fd5b6118d3888389016117b2565b955060209150818701356118e681611608565b94506040870135818111156118fa57600080fd5b8701601f8101891361190b57600080fd5b8035611919611676826116cd565b81815260059190911b8201840190848101908b83111561193857600080fd5b928501925b8284101561195f57833561195081611879565b8252928501929085019061193d565b9650505050606087013591508082111561197857600080fd5b5061198587828801611657565b91505092959194509250565b60005b838110156119ac578181015183820152602001611994565b50506000910152565b600081518084526119cd816020860160208601611991565b601f01601f19169290920160200192915050565b6020815260006119f460208301846119b5565b9392505050565b60008060408385031215611a0e57600080fd5b82356001600160401b03811115611a2457600080fd5b611a30858286016117b2565b9250506020830135611a4181611608565b809150509250929050565b60008060408385031215611a5f57600080fd5b8235611a6a81611879565b915060208301356001600160401b03811115611a8557600080fd5b611a9185828601611657565b9150509250929050565b600082601f830112611aac57600080fd5b81356020611abc611676836116cd565b82815260059290921b84018101918181019086841115611adb57600080fd5b8286015b848110156117a7578035611af2816116ad565b8352918301918301611adf565b60008060408385031215611b1257600080fd5b82356001600160401b0380821115611b2957600080fd5b9084019060c08287031215611b3d57600080fd5b611b456115b6565b611b4e8361188f565b8152611b5c6020840161188f565b6020820152611b6d60408401611620565b6040820152606083013582811115611b8457600080fd5b611b9088828601611a9b565b606083015250608083013582811115611ba857600080fd5b611bb488828601611a9b565b60808301525060a083013582811115611bcc57600080fd5b611bd888828601611657565b60a08301525093506020850135915080821115611bf457600080fd5b50611a9185828601611657565b600081518084526020808501945080840160005b83811015611c3a5781516001600160a01b031687529582019590820190600101611c15565b509495945050505050565b6040815260006001600160801b0319808551166040840152806020860151166060840152506001600160401b036040850151166080830152606084015160c060a0840152611c97610100840182611c01565b90506080850151603f19808584030160c0860152611cb58383611c01565b925060a08701519150808584030160e086015250611cd382826119b5565b915050828103602084015261119081856119b5565b600060208284031215611cfa57600080fd5b81356001600160401b03811115611d1057600080fd5b820160c081850312156119f457600080fd5b60008060408385031215611d3557600080fd5b8235611d4081611879565b91506020830135611a4181611879565b600081518084526020808501945080840160005b83811015611c3a57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611d64565b60006101006001600160401b038084511685526020840151826020870152611de1838701826119b5565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611e2760a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526111908282611d50565b600081518084526020808501945080840160005b83811015611c3a5781516001600160801b03191687529582019590820190600101611e5d565b608081526000611e966080830187611db7565b6001600160401b03861660208401528281036040840152611eb78186611e49565b9050828103606084015261104681856119b5565b805161162b81611879565b805161162b81611608565b600082601f830112611ef257600080fd5b81516020611f02611676836116cd565b82815260059290921b84018101918181019086841115611f2157600080fd5b8286015b848110156117a7578051611f38816116ad565b8352918301918301611f25565b600082601f830112611f5657600080fd5b8151611f6461167682611630565b818152846020838601011115611f7957600080fd5b6108f1826020830160208701611991565b600060c08284031215611f9c57600080fd5b611fa46115b6565b9050611faf82611ecb565b8152611fbd60208301611ecb565b6020820152611fce60408301611ed6565b604082015260608201516001600160401b0380821115611fed57600080fd5b611ff985838601611ee1565b6060840152608084015191508082111561201257600080fd5b61201e85838601611ee1565b608084015260a084015191508082111561203757600080fd5b5061204484828501611f45565b60a08301525092915050565b6000806040838503121561206357600080fd5b82516001600160401b038082111561207a57600080fd5b61208686838701611f8a565b9350602085015191508082111561209c57600080fd5b50611a9185828601611f45565b6001600160801b0319831681526040602082015260006108f160408301846119b5565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006111906060830184611c01565b6001600160e01b0319831681528151600090612121816004850160208701611991565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602080838503121561218b57600080fd5b82516001600160401b038111156121a157600080fd5b8301601f810185136121b257600080fd5b80516121c0611676826116cd565b81815260059190911b820183019083810190878311156121df57600080fd5b928401925b828410156110465783516121f781611879565b825292840192908401906121e4565b634e487b7160e01b600052601160045260246000fd5b60006001820161222e5761222e612206565b5060010190565b60006020828403121561224757600080fd5b81516119f481611608565b8181038181111561089b5761089b612206565b8082018082111561089b5761089b612206565b60006020828403121561228a57600080fd5b81516001600160401b038111156122a057600080fd5b6108f184828501611f45565b6000602082840312156122be57600080fd5b81356119f481611879565b6000602082840312156122db57600080fd5b81356119f481611608565b6000808335601e198436030181126122fd57600080fd5b8301803591506001600160401b0382111561231757600080fd5b6020019150600581901b36038213156109c657600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561239757833561237c816116ad565b6001600160a01b031682529282019290820190600101612369565b5098975050505050505050565b6020815260006119f46020830184611e49565b6001600160a01b03831681526040602082018190526000906108f1908301846119b5565b6001600160401b03831681526040602082015260006108f160408301846119b5565b6000825161240f818460208701611991565b9190910192915050565b6000602080838503121561242c57600080fd5b82516001600160401b038082111561244357600080fd5b818501915085601f83011261245757600080fd5b8151612465611676826116cd565b81815260059190911b8301840190848101908883111561248457600080fd5b8585015b83811015612397578051858111156124a05760008081fd5b6124ae8b89838a0101611f8a565b845250918601918601612488565b6001600160401b03851681526080602082015260006124de6080830186611c01565b8281036040840152611eb78186611c01565b60006020828403121561250257600080fd5b81516001600160401b0381111561251857600080fd5b6108f184828501611f8a565b6001600160801b03198416815260606020820152600061254760608301856119b5565b828103604084015261255981856119b5565b9695505050505050565b6060815260006125766060830186611db7565b6001600160801b031985166020840152828103604084015261255981856119b5565b600080604083850312156125ab57600080fd5b82516001600160401b03808211156125c257600080fd5b61208686838701611f4556fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/bids.sol/EthBlockBidSenderContract.json b/suave/artifacts/bids.sol/EthBlockBidSenderContract.json index d3b10b7eb5..47dfe12957 100644 --- a/suave/artifacts/bids.sol/EthBlockBidSenderContract.json +++ b/suave/artifacts/bids.sol/EthBlockBidSenderContract.json @@ -680,20050 +680,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x60806040523480156200001157600080fd5b50604051620029ec380380620029ec833981016040819052620000349162000060565b6000620000428282620001c4565b505062000290565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200007457600080fd5b82516001600160401b03808211156200008c57600080fd5b818501915085601f830112620000a157600080fd5b815181811115620000b657620000b66200004a565b604051601f8201601f19908116603f01168101908382118183101715620000e157620000e16200004a565b816040528281528886848701011115620000fa57600080fd5b600093505b828410156200011e5784840186015181850187015292850192620000ff565b600086848301015280965050505050505092915050565b600181811c908216806200014a57607f821691505b6020821081036200016b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf57600081815260208120601f850160051c810160208610156200019a5750805b601f850160051c820191505b81811015620001bb57828155600101620001a6565b5050505b505050565b81516001600160401b03811115620001e057620001e06200004a565b620001f881620001f1845462000135565b8462000171565b602080601f831160018114620002305760008415620002175750858301515b600019600386901b1c1916600185901b178555620001bb565b600085815260208120601f198616915b82811015620002615788860151825594840194600190910190840162000240565b5085821015620002805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61274c80620002a06000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a", - "sourceMap": "11164:717:18:-:0;;;11249:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11295:13;:30;11311:14;11295:13;:30;:::i;:::-;;11249:80;11164:717;;14:127:20;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:1042;226:6;257:2;300;288:9;279:7;275:23;271:32;268:52;;;316:1;313;306:12;268:52;343:16;;-1:-1:-1;;;;;408:14:20;;;405:34;;;435:1;432;425:12;405:34;473:6;462:9;458:22;448:32;;518:7;511:4;507:2;503:13;499:27;489:55;;540:1;537;530:12;489:55;569:2;563:9;591:2;587;584:10;581:36;;;597:18;;:::i;:::-;672:2;666:9;640:2;726:13;;-1:-1:-1;;722:22:20;;;746:2;718:31;714:40;702:53;;;770:18;;;790:22;;;767:46;764:72;;;816:18;;:::i;:::-;856:10;852:2;845:22;891:2;883:6;876:18;931:7;926:2;921;917;913:11;909:20;906:33;903:53;;;952:1;949;942:12;903:53;974:1;965:10;;984:129;998:2;995:1;992:9;984:129;;;1086:10;;;1082:19;;1076:26;1055:14;;;1051:23;;1044:59;1009:10;;;;984:129;;;1155:1;1150:2;1145;1137:6;1133:15;1129:24;1122:35;1176:6;1166:16;;;;;;;;146:1042;;;;:::o;1193:380::-;1272:1;1268:12;;;;1315;;;1336:61;;1390:4;1382:6;1378:17;1368:27;;1336:61;1443:2;1435:6;1432:14;1412:18;1409:38;1406:161;;1489:10;1484:3;1480:20;1477:1;1470:31;1524:4;1521:1;1514:15;1552:4;1549:1;1542:15;1406:161;;1193:380;;;:::o;1704:545::-;1806:2;1801:3;1798:11;1795:448;;;1842:1;1867:5;1863:2;1856:17;1912:4;1908:2;1898:19;1982:2;1970:10;1966:19;1963:1;1959:27;1953:4;1949:38;2018:4;2006:10;2003:20;2000:47;;;-1:-1:-1;2041:4:20;2000:47;2096:2;2091:3;2087:12;2084:1;2080:20;2074:4;2070:31;2060:41;;2151:82;2169:2;2162:5;2159:13;2151:82;;;2214:17;;;2195:1;2184:13;2151:82;;;2155:3;;;1795:448;1704:545;;;:::o;2425:1352::-;2545:10;;-1:-1:-1;;;;;2567:30:20;;2564:56;;;2600:18;;:::i;:::-;2629:97;2719:6;2679:38;2711:4;2705:11;2679:38;:::i;:::-;2673:4;2629:97;:::i;:::-;2781:4;;2845:2;2834:14;;2862:1;2857:663;;;;3564:1;3581:6;3578:89;;;-1:-1:-1;3633:19:20;;;3627:26;3578:89;-1:-1:-1;;2382:1:20;2378:11;;;2374:24;2370:29;2360:40;2406:1;2402:11;;;2357:57;3680:81;;2827:944;;2857:663;1651:1;1644:14;;;1688:4;1675:18;;-1:-1:-1;;2893:20:20;;;3011:236;3025:7;3022:1;3019:14;3011:236;;;3114:19;;;3108:26;3093:42;;3206:27;;;;3174:1;3162:14;;;;3041:19;;3011:236;;;3015:3;3275:6;3266:7;3263:19;3260:201;;;3336:19;;;3330:26;-1:-1:-1;;3419:1:20;3415:14;;;3431:3;3411:24;3407:37;3403:42;3388:58;3373:74;;3260:201;-1:-1:-1;;;;;3507:1:20;3491:14;;;3487:22;3474:36;;-1:-1:-1;2425:1352:20:o;:::-;11164:717:18;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a", - "sourceMap": "11164:717:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11332:547;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5999:2014;;;;;;:::i;:::-;;:::i;10827:333::-;;;;;;:::i;:::-;;:::i;187:228::-;;;:::i;10548:276::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;467:122::-;;;;;;:::i;:::-;;:::i;:::-;;9764:781;;;;;;:::i;:::-;;:::i;5720:276::-;;;;;;:::i;:::-;;:::i;:::-;;;13796:14:20;;13789:22;13771:41;;13759:2;13744:18;5720:276:18;13631:187:20;8016:1186:18;;;;;;:::i;:::-;;:::i;11332:547::-;11498:12;11524:22;:20;:22::i;:::-;11516:31;;;;;;11607:53;;-1:-1:-1;;;11607:53:18;;11553:25;;;;11607:4;;:12;;:53;;11620:9;;11631:11;;11644:4;;11650:9;;11607:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11607:53:18;;;;;;;;;;;;:::i;:::-;11552:108;;;;11664:57;11695:13;11664:57;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11710:10;11664:30;:57::i;:::-;;11731:76;11740:8;:11;;;11753:8;:28;;;11783:8;:23;;;11731:76;;;;;;;;:::i;:::-;;;;;;;;11854:20;;-1:-1:-1;;;11831:21:18;11854:20;;11865:8;;11854:20;;;:::i;:::-;;;;-1:-1:-1;;11854:20:18;;;;;;;;;;11818:57;;;11854:20;11818:57;;:::i;:::-;;;;;;;;;;;;;11811:64;;;;11332:547;;;;;;:::o;5999:2014::-;6097:12;6123:22;:20;:22::i;:::-;6115:31;;;;;;6151:36;6190:53;6206:11;6190:53;;;;;;;;;;;;;-1:-1:-1;;;6190:53:18;;;:15;:53::i;:::-;6151:92;;6247:35;6285:60;6301:11;6285:60;;;;;;;;;;;;;;;;;:15;:60::i;:::-;6247:98;;6354:16;:23;6381:1;6354:28;6350:97;;6425:4;6396:46;;-1:-1:-1;;;6396:46:18;;;;;;;;:::i;:::-;;;;;;;;6350:97;6451:26;6496:16;:23;-1:-1:-1;;;;;6480:40:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6451:69;;6529:6;6524:617;6545:16;:23;6541:1;:27;6524:617;;;6619:28;6650:16;6667:1;6650:19;;;;;;;;:::i;:::-;;;;;;;6619:50;;6725:6;6720:388;6741:17;:24;6737:1;:28;6720:388;;;6835:33;6882:82;6914:17;6932:1;6914:20;;;;;;;;:::i;:::-;;;;;;;:23;;;6882:82;;;;;;;;;;;;;-1:-1:-1;;;6882:82:18;;;:31;:82::i;:::-;6871:111;;;;;;;;;;;;:::i;:::-;6835:147;;6992:49;7001:12;7014:1;7001:15;;;;;;;;:::i;:::-;;;;;;;7018:16;7035:1;7018:19;;;;;;;;:::i;:::-;;;;;;;:22;;;6992:8;:49::i;:::-;6988:115;;;7064:17;7082:1;7064:20;;;;;;;;:::i;:::-;;;;;;;7050:34;;7091:5;;;6988:115;-1:-1:-1;6767:3:18;;;;:::i;:::-;;;;6720:388;;;;7125:11;7112:7;7120:1;7112:10;;;;;;;;:::i;:::-;;;;;;:24;;;;6575:566;6570:3;;;;;:::i;:::-;;;;6524:617;;;;7145:29;7194:7;:14;-1:-1:-1;;;;;7177:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;7177:32:18;;;;;;;;;;;;;;;;7145:64;;7218:6;7213:259;7234:7;:14;7230:1;:18;7213:259;;;7260:23;7286:81;7318:7;7326:1;7318:10;;;;;;;;:::i;:::-;;;;;;;:13;;;7286:81;;;;;;;;;;;;;;;;;:31;:81::i;:::-;7260:107;;7372:10;7396;7385:32;;;;;;;;;;;;:::i;:::-;7372:45;;7437:30;;;;;;;;7448:3;-1:-1:-1;;;;;7437:30:18;;;;;7453:7;7461:1;7453:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;7437:30:18;;;;;7422:9;7432:1;7422:12;;;;;;;;:::i;:::-;;;;;;:45;;;;7255:217;;7250:3;;;;;:::i;:::-;;;;7213:259;;;-1:-1:-1;7517:16:18;;7508:6;7537:238;7558:5;7562:1;7558;:5;:::i;:::-;7554:1;:9;7537:238;;;7580:6;7589:5;:1;7593;7589:5;:::i;:::-;7580:14;;7575:196;7600:1;7596;:5;7575:196;;;7637:9;7647:1;7637:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;:9;7628:1;7618:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;7618:35:18;;7614:152;;;7662:22;7687:9;7697:1;7687:12;;;;;;;;:::i;:::-;;;;;;;7662:37;;7721:9;7731:1;7721:12;;;;;;;;:::i;:::-;;;;;;;7706:9;7716:1;7706:12;;;;;;;;:::i;:::-;;;;;;:27;;;;7755:4;7740:9;7750:1;7740:12;;;;;;;;:::i;:::-;;;;;;:19;;;;7655:111;7614:152;7603:3;;;;:::i;:::-;;;;7575:196;;;-1:-1:-1;7565:3:18;;;;:::i;:::-;;;;7537:238;;;;7779:30;7830:7;:14;-1:-1:-1;;;;;7812:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7812:33:18;;7779:66;;7854:6;7849:87;7870:9;:16;7866:1;:20;7849:87;;;7913:9;7923:1;7913:12;;;;;;;;:::i;:::-;;;;;;;:18;;;7898:9;7908:1;7898:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;7898:33:18;;;:12;;;;;;;;;;;:33;7888:3;;;;:::i;:::-;;;;7849:87;;;;7947:62;7960:9;7971:11;7984:9;7947:62;;;;;;;;;;;;;-1:-1:-1;;;7947:62:18;;;:12;:62::i;:::-;7940:69;;;;;;;;5999:2014;;;;;:::o;10827:333::-;10917:12;10943:22;:20;:22::i;:::-;10935:31;;;;;;11048:20;11071:67;11103:5;11071:67;;;;;;;;;;;;;-1:-1:-1;;;11071:67:18;;;:31;:67::i;:::-;11048:90;10827:333;-1:-1:-1;;;;10827:333:18:o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;10548:276::-;10641:16;;:::i;:::-;10659:12;10682:40;10703:3;:6;;;10711:10;10682:40;;;;;;;:::i;:::-;;;;;;;;10731:61;10740:3;:6;;;10748:3;:23;;;10773:3;:18;;;10731:61;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;10804:3:18;;-1:-1:-1;10809:10:18;10548:276;;;;;;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;9764:781::-;9913:16;;:::i;:::-;9983;;;9997:1;9983:16;;;9931:12;9983:16;;;;;9931:12;9949:31;;9983:16;9997:1;9983:16;;;;;;;;;;-1:-1:-1;9983:16:18;9949:50;;10031:4;10003:14;10018:1;10003:17;;;;;;;;:::i;:::-;;;;;;:33;-1:-1:-1;;;;;10003:33:18;;;-1:-1:-1;;;;;10003:33:18;;;;;858:42:14;10040:14:18;10055:1;10040:17;;;;;;;;:::i;:::-;;;;;;:41;-1:-1:-1;;;;;10040:41:18;;;-1:-1:-1;;;;;10040:41:18;;;;;10086:25;10114:82;10127:11;10140:14;10156;10114:82;;;;;;;;;;;;;-1:-1:-1;;;10114:82:18;;;:12;:82::i;:::-;10086:110;;10200:84;10229:8;:11;;;10200:84;;;;;;;;;;;;;-1:-1:-1;;;10200:84:18;;;10278:4;10267:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;10200:28;:84::i;:::-;10293:23;10318:20;10342:54;10362:9;10373:8;:11;;;10386:9;10342:19;:54::i;:::-;10292:104;;;;10400:79;10429:8;:11;;;10400:79;;;;;;;;;;;;;-1:-1:-1;;;10400:79:18;;;10471:7;10400:28;:79::i;:::-;-1:-1:-1;10520:8:18;;;;-1:-1:-1;9764:781:18;-1:-1:-1;;;;;;9764:781:18:o;5720:276::-;5818:20;;;-1:-1:-1;;;;;;27095:52:20;;;5818:20:18;;;27083:65:20;5818:20:18;;;;;;;;;27164:12:20;;;5818:20:18;;27095:52:20;;;5859:20:18;;;27083:65:20;5859:20:18;;;;;;;;;27164:12:20;;;;5859:20:18;;;5791:4;;5818:20;5791:4;5883:94;5904:1;:8;5900:1;:12;5883:94;;;5943:1;5945;5943:4;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5928:19:18;;5934:1;5937;5928:11;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;5928:11:18;:19;5924:49;;5962:5;5955:12;;;;;;;5924:49;5914:3;;;;:::i;:::-;;;;5883:94;;;-1:-1:-1;5988:4:18;;5720:276;-1:-1:-1;;;;;5720:276:18:o;8016:1186::-;8114:12;8140:22;:20;:22::i;:::-;8132:31;;;;;;8168:26;8197:53;8213:11;8197:53;;;;;;;;;;;;;-1:-1:-1;;;8197:53:18;;;:15;:53::i;:::-;8168:82;;8258:7;:14;8276:1;8258:19;8254:88;;8320:4;8291:46;;-1:-1:-1;;;8291:46:18;;;;;;;;:::i;8254:88::-;8346:29;8395:7;:14;-1:-1:-1;;;;;8378:32:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;8378:32:18;;;;;;;;;;;;;;;;8346:64;;8419:6;8414:258;8435:7;:14;8431:1;:18;8414:258;;;8461:23;8487:80;8519:7;8527:1;8519:10;;;;;;;;:::i;:::-;;;;;;;:13;;;8487:80;;;;;;;;;;;;;;;;;:31;:80::i;:::-;8461:106;;8572:10;8596;8585:32;;;;;;;;;;;;:::i;:::-;8572:45;;8637:30;;;;;;;;8648:3;-1:-1:-1;;;;;8637:30:18;;;;;8653:7;8661:1;8653:10;;;;;;;;:::i;:::-;;;;;;;:13;;;-1:-1:-1;;;;;8637:30:18;;;;;8622:9;8632:1;8622:12;;;;;;;;:::i;:::-;;;;;;:45;;;;8456:216;;8451:3;;;;;:::i;:::-;;;;8414:258;;;-1:-1:-1;8717:16:18;;8708:6;8737:238;8758:5;8762:1;8758;:5;:::i;:::-;8754:1;:9;8737:238;;;8780:6;8789:5;:1;8793;8789:5;:::i;:::-;8780:14;;8775:196;8800:1;8796;:5;8775:196;;;8837:9;8847:1;8837:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;:9;8828:1;8818:12;;;;;;;;:::i;:::-;;;;;;;:16;;;-1:-1:-1;;;;;8818:35:18;;8814:152;;;8862:22;8887:9;8897:1;8887:12;;;;;;;;:::i;:::-;;;;;;;8862:37;;8921:9;8931:1;8921:12;;;;;;;;:::i;:::-;;;;;;;8906:9;8916:1;8906:12;;;;;;;;:::i;:::-;;;;;;:27;;;;8955:4;8940:9;8950:1;8940:12;;;;;;;;:::i;:::-;;;;;;:19;;;;8855:111;8814:152;8803:3;;;;:::i;:::-;;;;8775:196;;;-1:-1:-1;8765:3:18;;;;:::i;:::-;;;;8737:238;;;;8979:30;9030:7;:14;-1:-1:-1;;;;;9012:33:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9012:33:18;;8979:66;;9054:6;9049:87;9070:9;:16;9066:1;:20;9049:87;;;9113:9;9123:1;9113:12;;;;;;;;:::i;:::-;;;;;;;:18;;;9098:9;9108:1;9098:12;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;9098:33:18;;;:12;;;;;;;;;;;:33;9088:3;;;;:::i;:::-;;;;9049:87;;;;9147:51;9160:9;9171:11;9184:9;9147:51;;;;;;;;;;;;:12;:51::i;:::-;9140:58;8016:1186;-1:-1:-1;;;;;;;8016:1186:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;2248:103::-;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;7042:438::-;7172:12;7208:16;:14;:16::i;:::-;7200:25;;;;;;7236:12;7250:17;1983:42;-1:-1:-1;;;;;7271:40:14;7323:8;7333:10;7312:32;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;7312:32:14;;;;;;;;;;7271:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7235:110;;;;7360:7;7355:97;;1983:42;7436:4;7390:51;;-1:-1:-1;;;7390:51:14;;;;;;;;;:::i;4684:327::-;4764:12;4789;4803:17;1413:42;-1:-1:-1;;;;;4824:21:14;4857:4;4863:9;4846:27;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4846:27:14;;;;;;;;;;4824:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4788:86;;;;4889:7;4884:78;;1413:42;4946:4;4919:32;;-1:-1:-1;;;4919:32:14;;;;;;;;;:::i;4884:78::-;4990:4;4979:25;;;;;;;;;;;;:::i;:::-;4972:32;4684:327;-1:-1:-1;;;;;4684:327:14:o;3339:345::-;3429:12;3454;3468:17;1056:42;-1:-1:-1;;;;;3489:38:14;3539:5;3546:3;3528:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3528:22:14;;;;;;;;;;3489:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3453:98;;;;3566:7;3561:95;;1056:42;3640:4;3596:49;;-1:-1:-1;;;3596:49:14;;;;;;;;;:::i;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;5360:486::-;5553:10;;:::i;:::-;5576:12;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;2610:435::-;2751:12;2765;2794;2808:17;858:42;-1:-1:-1;;;;;2829:26:14;2867:9;2878:5;2885:9;2856:39;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2856:39:14;;;;;;;;;;2829:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2793:103;;;;2911:7;2906:83;;858:42;2973:4;2941:37;;-1:-1:-1;;;2941:37:14;;;;;;;;;:::i;2906:83::-;3017:4;3006:32;;;;;;;;;;;;:::i;:::-;2999:39;;;;;;2610:435;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:127:20:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;-1:-1:-1;;;;;280:34:20;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;404:255::-;476:2;470:9;518:6;506:19;;-1:-1:-1;;;;;540:34:20;;576:22;;;537:62;534:88;;;602:18;;:::i;664:253::-;736:2;730:9;778:4;766:17;;-1:-1:-1;;;;;798:34:20;;834:22;;;795:62;792:88;;;860:18;;:::i;922:275::-;993:2;987:9;1058:2;1039:13;;-1:-1:-1;;1035:27:20;1023:40;;-1:-1:-1;;;;;1078:34:20;;1114:22;;;1075:62;1072:88;;;1140:18;;:::i;:::-;1176:2;1169:22;922:275;;-1:-1:-1;922:275:20:o;1202:129::-;-1:-1:-1;;;;;1280:5:20;1276:30;1269:5;1266:41;1256:69;;1321:1;1318;1311:12;1256:69;1202:129;:::o;1336:132::-;1403:20;;1432:30;1403:20;1432:30;:::i;:::-;1336:132;;;:::o;1473:186::-;1521:4;-1:-1:-1;;;;;1546:6:20;1543:30;1540:56;;;1576:18;;:::i;:::-;-1:-1:-1;1642:2:20;1621:15;-1:-1:-1;;1617:29:20;1648:4;1613:40;;1473:186::o;1664:462::-;1706:5;1759:3;1752:4;1744:6;1740:17;1736:27;1726:55;;1777:1;1774;1767:12;1726:55;1813:6;1800:20;1844:48;1860:31;1888:2;1860:31;:::i;:::-;1844:48;:::i;:::-;1917:2;1908:7;1901:19;1963:3;1956:4;1951:2;1943:6;1939:15;1935:26;1932:35;1929:55;;;1980:1;1977;1970:12;1929:55;2045:2;2038:4;2030:6;2026:17;2019:4;2010:7;2006:18;1993:55;2093:1;2068:16;;;2086:4;2064:27;2057:38;;;;2072:7;1664:462;-1:-1:-1;;;1664:462:20:o;2131:131::-;-1:-1:-1;;;;;2206:31:20;;2196:42;;2186:70;;2252:1;2249;2242:12;2267:134;2335:20;;2364:31;2335:20;2364:31;:::i;2406:193::-;2476:4;-1:-1:-1;;;;;2501:6:20;2498:30;2495:56;;;2531:18;;:::i;:::-;-1:-1:-1;2576:1:20;2572:14;2588:4;2568:25;;2406:193::o;2604:1452::-;2668:5;2721:3;2714:4;2706:6;2702:17;2698:27;2688:55;;2739:1;2736;2729:12;2688:55;2775:6;2762:20;2801:4;2825:70;2841:53;2891:2;2841:53;:::i;2825:70::-;2929:15;;;3015:1;3011:10;;;;2999:23;;2995:32;;;2960:12;;;;3039:15;;;3036:35;;;3067:1;3064;3057:12;3036:35;3103:2;3095:6;3091:15;3115:912;3131:6;3126:3;3123:15;3115:912;;;3209:4;3203:3;3198;3194:13;3190:24;3187:114;;;3255:1;3284:2;3280;3273:14;3187:114;3327:22;;:::i;:::-;3390:3;3377:17;3407:32;3431:7;3407:32;:::i;:::-;3452:22;;3515:12;;;3502:26;3541:32;3502:26;3541:32;:::i;:::-;3593:14;;;3586:31;3640:2;3683:12;;;3670:26;3709:33;3670:26;3709:33;:::i;:::-;3762:14;;;3755:31;3809:2;3852:12;;;3839:26;3878:32;3839:26;3878:32;:::i;:::-;3930:14;;;3923:31;3967:18;;4005:12;;;;3157:4;3148:14;3115:912;;;-1:-1:-1;4045:5:20;2604:1452;-1:-1:-1;;;;;;2604:1452:20:o;4061:997::-;4122:5;4170:6;4158:9;4153:3;4149:19;4145:32;4142:52;;;4190:1;4187;4180:12;4142:52;4212:22;;:::i;:::-;4203:31;;4257:28;4275:9;4257:28;:::i;:::-;4250:5;4243:43;4337:2;4326:9;4322:18;4309:32;-1:-1:-1;;;;;4401:2:20;4393:6;4390:14;4387:34;;;4417:1;4414;4407:12;4387:34;4453:45;4494:3;4485:6;4474:9;4470:22;4453:45;:::i;:::-;4448:2;4441:5;4437:14;4430:69;4559:2;4548:9;4544:18;4531:32;4526:2;4519:5;4515:14;4508:56;4596:37;4629:2;4618:9;4614:18;4596:37;:::i;:::-;4591:2;4584:5;4580:14;4573:61;4667:39;4701:3;4690:9;4686:19;4667:39;:::i;:::-;4661:3;4654:5;4650:15;4643:64;4740:38;4773:3;4762:9;4758:19;4740:38;:::i;:::-;4734:3;4727:5;4723:15;4716:63;4840:3;4829:9;4825:19;4812:33;4806:3;4799:5;4795:15;4788:58;4899:3;4888:9;4884:19;4871:33;4855:49;;4929:2;4919:8;4916:16;4913:36;;;4945:1;4942;4935:12;4913:36;;4982:69;5047:3;5036:8;5025:9;5021:24;4982:69;:::i;:::-;4976:3;4969:5;4965:15;4958:94;;4061:997;;;;:::o;5063:170::-;-1:-1:-1;;;;;;5157:51:20;;5147:62;;5137:90;;5223:1;5220;5213:12;5238:172;5325:20;;5354:50;5325:20;5354:50;:::i;5415:1620::-;5595:6;5603;5611;5619;5672:3;5660:9;5651:7;5647:23;5643:33;5640:53;;;5689:1;5686;5679:12;5640:53;5729:9;5716:23;-1:-1:-1;;;;;5799:2:20;5791:6;5788:14;5785:34;;;5815:1;5812;5805:12;5785:34;5838:65;5895:7;5886:6;5875:9;5871:22;5838:65;:::i;:::-;5828:75;;5922:2;5912:12;;5974:2;5963:9;5959:18;5946:32;5987:30;6011:5;5987:30;:::i;:::-;6036:5;-1:-1:-1;6094:2:20;6079:18;;6066:32;6110:16;;;6107:36;;;6139:1;6136;6129:12;6107:36;6162:24;;6217:4;6209:13;;6205:27;-1:-1:-1;6195:55:20;;6246:1;6243;6236:12;6195:55;6282:2;6269:16;6305:70;6321:53;6371:2;6321:53;:::i;6305:70::-;6409:15;;;6491:1;6487:10;;;;6479:19;;6475:28;;;6440:12;;;;6515:19;;;6512:39;;;6547:1;6544;6537:12;6512:39;6571:11;;;;6591:242;6607:6;6602:3;6599:15;6591:242;;;6689:3;6676:17;6706:52;6750:7;6706:52;:::i;:::-;6771:20;;6624:12;;;;6811;;;;6591:242;;;6852:5;-1:-1:-1;;;;6910:2:20;6895:18;;6882:32;;-1:-1:-1;6926:16:20;;;6923:36;;;6955:1;6952;6945:12;6923:36;;6978:51;7021:7;7010:8;6999:9;6995:24;6978:51;:::i;:::-;6968:61;;;5415:1620;;;;;;;:::o;7040:250::-;7125:1;7135:113;7149:6;7146:1;7143:13;7135:113;;;7225:11;;;7219:18;7206:11;;;7199:39;7171:2;7164:10;7135:113;;;-1:-1:-1;;7282:1:20;7264:16;;7257:27;7040:250::o;7295:270::-;7336:3;7374:5;7368:12;7401:6;7396:3;7389:19;7417:76;7486:6;7479:4;7474:3;7470:14;7463:4;7456:5;7452:16;7417:76;:::i;:::-;7547:2;7526:15;-1:-1:-1;;7522:29:20;7513:39;;;;7554:4;7509:50;;7295:270;-1:-1:-1;;7295:270:20:o;7570:217::-;7717:2;7706:9;7699:21;7680:4;7737:44;7777:2;7766:9;7762:18;7754:6;7737:44;:::i;:::-;7729:52;7570:217;-1:-1:-1;;;7570:217:20:o;7792:493::-;7892:6;7900;7953:2;7941:9;7932:7;7928:23;7924:32;7921:52;;;7969:1;7966;7959:12;7921:52;8009:9;7996:23;-1:-1:-1;;;;;8034:6:20;8031:30;8028:50;;;8074:1;8071;8064:12;8028:50;8097:65;8154:7;8145:6;8134:9;8130:22;8097:65;:::i;:::-;8087:75;;;8212:2;8201:9;8197:18;8184:32;8225:30;8249:5;8225:30;:::i;:::-;8274:5;8264:15;;;7792:493;;;;;:::o;8290:501::-;8394:6;8402;8455:2;8443:9;8434:7;8430:23;8426:32;8423:52;;;8471:1;8468;8461:12;8423:52;8510:9;8497:23;8529:50;8573:5;8529:50;:::i;:::-;8598:5;-1:-1:-1;8654:2:20;8639:18;;8626:32;-1:-1:-1;;;;;8670:30:20;;8667:50;;;8713:1;8710;8703:12;8667:50;8736:49;8777:7;8768:6;8757:9;8753:22;8736:49;:::i;:::-;8726:59;;;8290:501;;;;;:::o;8796:747::-;8850:5;8903:3;8896:4;8888:6;8884:17;8880:27;8870:55;;8921:1;8918;8911:12;8870:55;8957:6;8944:20;8983:4;9007:70;9023:53;9073:2;9023:53;:::i;9007:70::-;9111:15;;;9197:1;9193:10;;;;9181:23;;9177:32;;;9142:12;;;;9221:15;;;9218:35;;;9249:1;9246;9239:12;9218:35;9285:2;9277:6;9273:15;9297:217;9313:6;9308:3;9305:15;9297:217;;;9393:3;9380:17;9410:31;9435:5;9410:31;:::i;:::-;9454:18;;9492:12;;;;9330;;9297:217;;9548:1404;9647:6;9655;9708:2;9696:9;9687:7;9683:23;9679:32;9676:52;;;9724:1;9721;9714:12;9676:52;9764:9;9751:23;-1:-1:-1;;;;;9834:2:20;9826:6;9823:14;9820:34;;;9850:1;9847;9840:12;9820:34;9873:22;;;;9929:4;9911:16;;;9907:27;9904:47;;;9947:1;9944;9937:12;9904:47;9973:22;;:::i;:::-;10018:41;10056:2;10018:41;:::i;:::-;10011:5;10004:56;10092:50;10138:2;10134;10130:11;10092:50;:::i;:::-;10087:2;10080:5;10076:14;10069:74;10175:30;10201:2;10197;10193:11;10175:30;:::i;:::-;10170:2;10163:5;10159:14;10152:54;10252:2;10248;10244:11;10231:25;10281:2;10271:8;10268:16;10265:36;;;10297:1;10294;10287:12;10265:36;10333:56;10381:7;10370:8;10366:2;10362:17;10333:56;:::i;:::-;10328:2;10321:5;10317:14;10310:80;;10436:3;10432:2;10428:12;10415:26;10466:2;10456:8;10453:16;10450:36;;;10482:1;10479;10472:12;10450:36;10519:56;10567:7;10556:8;10552:2;10548:17;10519:56;:::i;:::-;10513:3;10506:5;10502:15;10495:81;;10622:3;10618:2;10614:12;10601:26;10652:2;10642:8;10639:16;10636:36;;;10668:1;10665;10658:12;10636:36;10705:44;10741:7;10730:8;10726:2;10722:17;10705:44;:::i;:::-;10699:3;10688:15;;10681:69;-1:-1:-1;10692:5:20;-1:-1:-1;10827:2:20;10812:18;;10799:32;;-1:-1:-1;10843:16:20;;;10840:36;;;10872:1;10869;10862:12;10840:36;;10895:51;10938:7;10927:8;10916:9;10912:24;10895:51;:::i;11064:461::-;11117:3;11155:5;11149:12;11182:6;11177:3;11170:19;11208:4;11237:2;11232:3;11228:12;11221:19;;11274:2;11267:5;11263:14;11295:1;11305:195;11319:6;11316:1;11313:13;11305:195;;;11384:13;;-1:-1:-1;;;;;11380:39:20;11368:52;;11440:12;;;;11475:15;;;;11416:1;11334:9;11305:195;;;-1:-1:-1;11516:3:20;;11064:461;-1:-1:-1;;;;;11064:461:20:o;11530:809::-;11576:3;-1:-1:-1;;;;;11604:39:20;11682:2;11674:5;11668:12;11664:21;11659:3;11652:34;11747:2;11739:4;11732:5;11728:16;11722:23;11718:32;11711:4;11706:3;11702:14;11695:56;;-1:-1:-1;;;;;11804:4:20;11797:5;11793:16;11787:23;11783:48;11776:4;11771:3;11767:14;11760:72;11878:4;11871:5;11867:16;11861:23;11916:4;11909;11904:3;11900:14;11893:28;11942:58;11994:4;11989:3;11985:14;11971:12;11942:58;:::i;:::-;11930:70;;12048:4;12041:5;12037:16;12031:23;12096:3;12090:4;12086:14;12079:4;12074:3;12070:14;12063:38;12124:50;12169:4;12153:14;12124:50;:::i;:::-;12110:64;;;12222:4;12215:5;12211:16;12205:23;12272:3;12264:6;12260:16;12253:4;12248:3;12244:14;12237:40;12293;12326:6;12310:14;12293:40;:::i;12344:408::-;12563:2;12552:9;12545:21;12526:4;12589:49;12634:2;12623:9;12619:18;12611:6;12589:49;:::i;:::-;12686:9;12678:6;12674:22;12669:2;12658:9;12654:18;12647:50;12714:32;12739:6;12731;12714:32;:::i;12757:384::-;12840:6;12893:2;12881:9;12872:7;12868:23;12864:32;12861:52;;;12909:1;12906;12899:12;12861:52;12949:9;12936:23;-1:-1:-1;;;;;12974:6:20;12971:30;12968:50;;;13014:1;13011;13004:12;12968:50;13037:22;;13093:3;13075:16;;;13071:26;13068:46;;;13110:1;13107;13100:12;13146:480;13268:6;13276;13329:2;13317:9;13308:7;13304:23;13300:32;13297:52;;;13345:1;13342;13335:12;13297:52;13384:9;13371:23;13403:50;13447:5;13403:50;:::i;:::-;13472:5;-1:-1:-1;13529:2:20;13514:18;;13501:32;13542:52;13501:32;13542:52;:::i;13823:786::-;13886:3;13924:5;13918:12;13951:6;13946:3;13939:19;13977:4;14006:2;14001:3;13997:12;13990:19;;14043:2;14036:5;14032:14;14064:1;14074:510;14088:6;14085:1;14082:13;14074:510;;;14147:13;;14230:9;;-1:-1:-1;;;;;14226:18:20;;;14214:31;;14289:11;;;14283:18;14279:27;;14265:12;;;14258:49;14330:4;14378:11;;;14372:18;-1:-1:-1;;;;;14368:44:20;14354:12;;;14347:66;14436:4;14484:11;;;14478:18;14474:27;14460:12;;;14453:49;14531:4;14522:14;;;;14559:15;;;;14409:1;14103:9;14074:510;;14614:877;14671:3;14699:6;-1:-1:-1;;;;;14781:2:20;14773:5;14767:12;14763:21;14758:3;14751:34;14831:4;14824:5;14820:16;14814:23;14869:2;14862:4;14857:3;14853:14;14846:26;14893:44;14933:2;14928:3;14924:12;14910;14893:44;:::i;:::-;14881:56;;;14986:4;14979:5;14975:16;14969:23;14962:4;14957:3;14953:14;14946:47;15054:2;15046:4;15039:5;15035:16;15029:23;15025:32;15018:4;15013:3;15009:14;15002:56;;15136:1;15132;15127:3;15123:11;15119:19;15111:4;15104:5;15100:16;15094:23;15090:49;15083:4;15078:3;15074:14;15067:73;15188:4;15181:5;15177:16;15171:23;15203:49;15246:4;15241:3;15237:14;15221;-1:-1:-1;;;;;11022:30:20;11010:43;;10957:102;15203:49;;15301:4;15294:5;15290:16;15284:23;15277:4;15272:3;15268:14;15261:47;15356:4;15349:5;15345:16;15339:23;15404:3;15398:4;15394:14;15387:4;15382:3;15378:14;15371:38;15425:60;15480:4;15464:14;15425:60;:::i;15496:500::-;15568:3;15606:5;15600:12;15633:6;15628:3;15621:19;15659:4;15688:2;15683:3;15679:12;15672:19;;15725:2;15718:5;15714:14;15746:1;15756:215;15770:6;15767:1;15764:13;15756:215;;;15835:13;;-1:-1:-1;;;;;;15831:59:20;15819:72;;15911:12;;;;15946:15;;;;15792:1;15785:9;15756:215;;16001:789;16375:3;16364:9;16357:22;16338:4;16402:61;16458:3;16447:9;16443:19;16435:6;16402:61;:::i;:::-;-1:-1:-1;;;;;16503:6:20;16499:31;16494:2;16483:9;16479:18;16472:59;16579:9;16571:6;16567:22;16562:2;16551:9;16547:18;16540:50;16613:63;16669:6;16661;16613:63;:::i;:::-;16599:77;;16724:9;16716:6;16712:22;16707:2;16696:9;16692:18;16685:50;16752:32;16777:6;16769;16752:32;:::i;16795:176::-;16893:13;;16915:50;16893:13;16915:50;:::i;16976:136::-;17054:13;;17076:30;17054:13;17076:30;:::i;17117:744::-;17182:5;17235:3;17228:4;17220:6;17216:17;17212:27;17202:55;;17253:1;17250;17243:12;17202:55;17282:6;17276:13;17308:4;17332:70;17348:53;17398:2;17348:53;:::i;17332:70::-;17436:15;;;17522:1;17518:10;;;;17506:23;;17502:32;;;17467:12;;;;17546:15;;;17543:35;;;17574:1;17571;17564:12;17543:35;17610:2;17602:6;17598:15;17622:210;17638:6;17633:3;17630:15;17622:210;;;17711:3;17705:10;17728:31;17753:5;17728:31;:::i;:::-;17772:18;;17810:12;;;;17655;;17622:210;;17866:442;17920:5;17973:3;17966:4;17958:6;17954:17;17950:27;17940:55;;17991:1;17988;17981:12;17940:55;18020:6;18014:13;18051:48;18067:31;18095:2;18067:31;:::i;18051:48::-;18124:2;18115:7;18108:19;18170:3;18163:4;18158:2;18150:6;18146:15;18142:26;18139:35;18136:55;;;18187:1;18184;18177:12;18136:55;18200:77;18274:2;18267:4;18258:7;18254:18;18247:4;18239:6;18235:17;18200:77;:::i;18313:1060::-;18374:5;18422:4;18410:9;18405:3;18401:19;18397:30;18394:50;;;18440:1;18437;18430:12;18394:50;18462:22;;:::i;:::-;18453:31;;18507:59;18556:9;18507:59;:::i;:::-;18500:5;18493:74;18599:68;18663:2;18652:9;18648:18;18599:68;:::i;:::-;18594:2;18587:5;18583:14;18576:92;18700:48;18744:2;18733:9;18729:18;18700:48;:::i;:::-;18695:2;18688:5;18684:14;18677:72;18793:2;18782:9;18778:18;18772:25;-1:-1:-1;;;;;18857:2:20;18849:6;18846:14;18843:34;;;18873:1;18870;18863:12;18843:34;18909:68;18973:3;18964:6;18953:9;18949:22;18909:68;:::i;:::-;18904:2;18897:5;18893:14;18886:92;19024:3;19013:9;19009:19;19003:26;18987:42;;19054:2;19044:8;19041:16;19038:36;;;19070:1;19067;19060:12;19038:36;19107:70;19173:3;19162:8;19151:9;19147:24;19107:70;:::i;:::-;19101:3;19094:5;19090:15;19083:95;19224:3;19213:9;19209:19;19203:26;19187:42;;19254:2;19244:8;19241:16;19238:36;;;19270:1;19267;19260:12;19238:36;;19307:59;19362:3;19351:8;19340:9;19336:24;19307:59;:::i;:::-;19301:3;19294:5;19290:15;19283:84;;18313:1060;;;;:::o;19378:577::-;19488:6;19496;19549:2;19537:9;19528:7;19524:23;19520:32;19517:52;;;19565:1;19562;19555:12;19517:52;19598:9;19592:16;-1:-1:-1;;;;;19668:2:20;19660:6;19657:14;19654:34;;;19684:1;19681;19674:12;19654:34;19707:65;19764:7;19755:6;19744:9;19740:22;19707:65;:::i;:::-;19697:75;;19818:2;19807:9;19803:18;19797:25;19781:41;;19847:2;19837:8;19834:16;19831:36;;;19863:1;19860;19853:12;19831:36;;19886:63;19941:7;19930:8;19919:9;19915:24;19886:63;:::i;19960:380::-;20039:1;20035:12;;;;20082;;;20103:61;;20157:4;20149:6;20145:17;20135:27;;20103:61;20210:2;20202:6;20199:14;20179:18;20176:38;20173:161;;20256:10;20251:3;20247:20;20244:1;20237:31;20291:4;20288:1;20281:15;20319:4;20316:1;20309:15;20173:161;;19960:380;;;:::o;20345:499::-;-1:-1:-1;;;;;20617:39:20;20609:6;20605:52;20594:9;20587:71;-1:-1:-1;;;;;20698:6:20;20694:31;20689:2;20678:9;20674:18;20667:59;20762:2;20757;20746:9;20742:18;20735:30;20568:4;20782:56;20834:2;20823:9;20819:18;20811:6;20782:56;:::i;20849:248::-;21022:2;21011:9;21004:21;20985:4;21042:49;21087:2;21076:9;21072:18;21064:6;21042:49;:::i;21102:384::-;-1:-1:-1;;;;;;21287:33:20;;21275:46;;21344:13;;21257:3;;21366:74;21344:13;21429:1;21420:11;;21413:4;21401:17;;21366:74;:::i;:::-;21460:16;;;;21478:1;21456:24;;21102:384;-1:-1:-1;;;21102:384:20:o;21491:427::-;-1:-1:-1;;;;;21720:32:20;;;;21702:51;;21789:2;21784;21769:18;;21762:30;;;21828:1;21808:18;;;21801:29;-1:-1:-1;;;21861:2:20;21846:18;;21839:37;21908:3;21893:19;;21491:427::o;21923:127::-;21984:10;21979:3;21975:20;21972:1;21965:31;22015:4;22012:1;22005:15;22039:4;22036:1;22029:15;22055:1012;22177:6;22208:2;22251;22239:9;22230:7;22226:23;22222:32;22219:52;;;22267:1;22264;22257:12;22219:52;22300:9;22294:16;-1:-1:-1;;;;;22325:6:20;22322:30;22319:50;;;22365:1;22362;22355:12;22319:50;22388:22;;22441:4;22433:13;;22429:27;-1:-1:-1;22419:55:20;;22470:1;22467;22460:12;22419:55;22499:2;22493:9;22522:70;22538:53;22588:2;22538:53;:::i;22522:70::-;22626:15;;;22708:1;22704:10;;;;22696:19;;22692:28;;;22657:12;;;;22732:19;;;22729:39;;;22764:1;22761;22754:12;22729:39;22788:11;;;;22808:229;22824:6;22819:3;22816:15;22808:229;;;22897:3;22891:10;22914:50;22958:5;22914:50;:::i;:::-;22977:18;;22841:12;;;;23015;;;;22808:229;;23072:127;23133:10;23128:3;23124:20;23121:1;23114:31;23164:4;23161:1;23154:15;23188:4;23185:1;23178:15;23204:135;23243:3;23264:17;;;23261:43;;23284:18;;:::i;:::-;-1:-1:-1;23331:1:20;23320:13;;23204:135::o;23344:249::-;23413:6;23466:2;23454:9;23445:7;23441:23;23437:32;23434:52;;;23482:1;23479;23472:12;23434:52;23514:9;23508:16;23533:30;23557:5;23533:30;:::i;23598:128::-;23665:9;;;23686:11;;;23683:37;;;23700:18;;:::i;23731:125::-;23796:9;;;23817:10;;;23814:36;;;23830:18;;:::i;23861:336::-;23940:6;23993:2;23981:9;23972:7;23968:23;23964:32;23961:52;;;24009:1;24006;23999:12;23961:52;24042:9;24036:16;-1:-1:-1;;;;;24067:6:20;24064:30;24061:50;;;24107:1;24104;24097:12;24061:50;24130:61;24183:7;24174:6;24163:9;24159:22;24130:61;:::i;24202:361::-;-1:-1:-1;;;;;24416:39:20;24408:6;24404:52;24393:9;24386:71;24493:2;24488;24477:9;24473:18;24466:30;24367:4;24513:44;24553:2;24542:9;24538:18;24530:6;24513:44;:::i;24568:293::-;24654:6;24707:2;24695:9;24686:7;24682:23;24678:32;24675:52;;;24723:1;24720;24713:12;24675:52;24762:9;24749:23;24781:50;24825:5;24781:50;:::i;24866:245::-;24924:6;24977:2;24965:9;24956:7;24952:23;24948:32;24945:52;;;24993:1;24990;24983:12;24945:52;25032:9;25019:23;25051:30;25075:5;25051:30;:::i;25116:545::-;25209:4;25215:6;25275:11;25262:25;25369:2;25365:7;25354:8;25338:14;25334:29;25330:43;25310:18;25306:68;25296:96;;25388:1;25385;25378:12;25296:96;25415:33;;25467:20;;;-1:-1:-1;;;;;;25499:30:20;;25496:50;;;25542:1;25539;25532:12;25496:50;25575:4;25563:17;;-1:-1:-1;25626:1:20;25622:14;;;25606;25602:35;25592:46;;25589:66;;;25651:1;25648;25641:12;25666:944;25899:4;25947:2;25936:9;25932:18;-1:-1:-1;;;;;25989:39:20;25981:6;25977:52;25966:9;25959:71;26049:2;-1:-1:-1;;;;;26091:6:20;26087:31;26082:2;26071:9;26067:18;26060:59;26155:2;26150;26139:9;26135:18;26128:30;26178:6;26208;26200;26193:22;26246:3;26235:9;26231:19;26224:26;;26273:6;26259:20;;26297:1;26307:277;26321:6;26318:1;26315:13;26307:277;;;26396:6;26383:20;26416:31;26441:5;26416:31;:::i;:::-;-1:-1:-1;;;;;26472:31:20;26460:44;;26559:15;;;;26524:12;;;;26500:1;26336:9;26307:277;;;-1:-1:-1;26601:3:20;25666:944;-1:-1:-1;;;;;;;;25666:944:20:o;26615:307::-;26821:2;26810:9;26803:21;26784:4;26841:75;26912:2;26901:9;26897:18;26889:6;26841:75;:::i;27397:314::-;-1:-1:-1;;;;;27572:32:20;;27554:51;;27641:2;27636;27621:18;;27614:30;;;-1:-1:-1;;27661:44:20;;27686:18;;27678:6;27661:44;:::i;27716:379::-;27911:2;27900:9;27893:21;27874:4;27937:44;27977:2;27966:9;27962:18;27954:6;27937:44;:::i;28100:287::-;28229:3;28267:6;28261:13;28283:66;28342:6;28337:3;28330:4;28322:6;28318:17;28283:66;:::i;:::-;28365:16;;;;;28100:287;-1:-1:-1;;28100:287:20:o;28392:313::-;-1:-1:-1;;;;;28571:6:20;28567:31;28556:9;28549:50;28635:2;28630;28619:9;28615:18;28608:30;28530:4;28655:44;28695:2;28684:9;28680:18;28672:6;28655:44;:::i;28710:1160::-;28827:6;28858:2;28901;28889:9;28880:7;28876:23;28872:32;28869:52;;;28917:1;28914;28907:12;28869:52;28950:9;28944:16;-1:-1:-1;;;;;29020:2:20;29012:6;29009:14;29006:34;;;29036:1;29033;29026:12;29006:34;29074:6;29063:9;29059:22;29049:32;;29119:7;29112:4;29108:2;29104:13;29100:27;29090:55;;29141:1;29138;29131:12;29090:55;29170:2;29164:9;29193:70;29209:53;29259:2;29209:53;:::i;29193:70::-;29297:15;;;29379:1;29375:10;;;;29367:19;;29363:28;;;29328:12;;;;29403:19;;;29400:39;;;29435:1;29432;29425:12;29400:39;29467:2;29463;29459:11;29479:361;29495:6;29490:3;29487:15;29479:361;;;29574:3;29568:10;29610:2;29597:11;29594:19;29591:109;;;29654:1;29683:2;29679;29672:14;29591:109;29725:72;29789:7;29784:2;29770:11;29766:2;29762:20;29758:29;29725:72;:::i;:::-;29713:85;;-1:-1:-1;29818:12:20;;;;29512;;29479:361;;30243:723;-1:-1:-1;;;;;30578:6:20;30574:31;30563:9;30556:50;30642:3;30637:2;30626:9;30622:18;30615:31;30537:4;30669:57;30721:3;30710:9;30706:19;30698:6;30669:57;:::i;:::-;30774:9;30766:6;30762:22;30757:2;30746:9;30742:18;30735:50;30808:44;30845:6;30837;30808:44;:::i;30971:353::-;31063:6;31116:2;31104:9;31095:7;31091:23;31087:32;31084:52;;;31132:1;31129;31122:12;31084:52;31165:9;31159:16;-1:-1:-1;;;;;31190:6:20;31187:30;31184:50;;;31230:1;31227;31220:12;31184:50;31253:65;31310:7;31301:6;31290:9;31286:22;31253:65;:::i;31329:523::-;-1:-1:-1;;;;;31591:39:20;31583:6;31579:52;31568:9;31561:71;31668:2;31663;31652:9;31648:18;31641:30;31542:4;31694:44;31734:2;31723:9;31719:18;31711:6;31694:44;:::i;:::-;31786:9;31778:6;31774:22;31769:2;31758:9;31754:18;31747:50;31814:32;31839:6;31831;31814:32;:::i;:::-;31806:40;31329:523;-1:-1:-1;;;;;;31329:523:20:o;31857:587::-;32155:2;32144:9;32137:21;32118:4;32181:60;32237:2;32226:9;32222:18;32214:6;32181:60;:::i;:::-;-1:-1:-1;;;;;;32277:52:20;;32272:2;32257:18;;32250:80;32366:22;;;32361:2;32346:18;;32339:50;32406:32;32370:6;32423;32406:32;:::i;32449:560::-;32546:6;32554;32607:2;32595:9;32586:7;32582:23;32578:32;32575:52;;;32623:1;32620;32613:12;32575:52;32656:9;32650:16;-1:-1:-1;;;;;32726:2:20;32718:6;32715:14;32712:34;;;32742:1;32739;32732:12;32712:34;32765:61;32818:7;32809:6;32798:9;32794:22;32765:61;:::i", - "linkReferences": {} + "object": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a" }, - "methodIdentifiers": { - "buildAndEmit((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "4c8820f8", - "buildFromPool((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "ebb89de4", - "buildMevShare((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64)": "54dfbd39", - "doBuild((uint64,bytes,bytes32,uint64,address,uint64,bytes32,(uint64,uint64,address,uint64)[]),uint64,bytes16[],string)": "c2eceb11", - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "emitBuilderBidAndBid((bytes16,bytes16,uint64,address[],address[],string),bytes)": "b33e4715", - "fetchBidConfidentialBundleData()": "92f07a58", - "idsEqual(bytes16,bytes16)": "e829cd5d", - "unlock(bytes16,bytes)": "7df1cde2" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"boostRelayUrl_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"BuilderBoostBidEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"buildAndEmit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildFromPool\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"}],\"name\":\"buildMevShare\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"proposerPubkey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"parent\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"feeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"random\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"validator\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"Address\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"}],\"internalType\":\"struct Suave.Withdrawal[]\",\"name\":\"withdrawals\",\"type\":\"tuple[]\"}],\"internalType\":\"struct Suave.BuildBlockArgs\",\"name\":\"blockArgs\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"blockHeight\",\"type\":\"uint64\"},{\"internalType\":\"Suave.BidId[]\",\"name\":\"bids\",\"type\":\"bytes16[]\"},{\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"}],\"name\":\"doBuild\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"builderBid\",\"type\":\"bytes\"}],\"name\":\"emitBuilderBidAndBid\",\"outputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"_l\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"_r\",\"type\":\"bytes16\"}],\"name\":\"idsEqual\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"internalType\":\"bytes\",\"name\":\"signedBlindedHeader\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"EthBlockBidSenderContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string", - "name": "boostRelayUrl_", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "bytes", - "name": "builderBid", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "BuilderBoostBidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - }, - { - "internalType": "Suave.BidId[]", - "name": "bids", - "type": "bytes16[]" - }, - { - "internalType": "string", - "name": "namespace", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "buildAndEmit", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "buildFromPool", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "buildMevShare", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.BuildBlockArgs", - "name": "blockArgs", - "type": "tuple", - "components": [ - { - "internalType": "uint64", - "name": "slot", - "type": "uint64" - }, - { - "internalType": "bytes", - "name": "proposerPubkey", - "type": "bytes" - }, - { - "internalType": "bytes32", - "name": "parent", - "type": "bytes32" - }, - { - "internalType": "uint64", - "name": "timestamp", - "type": "uint64" - }, - { - "internalType": "address", - "name": "feeRecipient", - "type": "address" - }, - { - "internalType": "uint64", - "name": "gasLimit", - "type": "uint64" - }, - { - "internalType": "bytes32", - "name": "random", - "type": "bytes32" - }, - { - "internalType": "struct Suave.Withdrawal[]", - "name": "withdrawals", - "type": "tuple[]", - "components": [ - { - "internalType": "uint64", - "name": "index", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "validator", - "type": "uint64" - }, - { - "internalType": "address", - "name": "Address", - "type": "address" - }, - { - "internalType": "uint64", - "name": "amount", - "type": "uint64" - } - ] - } - ] - }, - { - "internalType": "uint64", - "name": "blockHeight", - "type": "uint64" - }, - { - "internalType": "Suave.BidId[]", - "name": "bids", - "type": "bytes16[]" - }, - { - "internalType": "string", - "name": "namespace", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function", - "name": "doBuild", - "outputs": [ - { - "internalType": "struct Suave.Bid", - "name": "", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "builderBid", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBuilderBidAndBid", - "outputs": [ - { - "internalType": "struct Suave.Bid", - "name": "", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "_l", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "_r", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function", - "name": "idsEqual", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16" - }, - { - "internalType": "bytes", - "name": "signedBlindedHeader", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function", - "name": "unlock", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "EthBlockBidSenderContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] - }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x60806040523480156200001157600080fd5b50604051620029ec380380620029ec833981016040819052620000349162000060565b6000620000428282620001c4565b505062000290565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200007457600080fd5b82516001600160401b03808211156200008c57600080fd5b818501915085601f830112620000a157600080fd5b815181811115620000b657620000b66200004a565b604051601f8201601f19908116603f01168101908382118183101715620000e157620000e16200004a565b816040528281528886848701011115620000fa57600080fd5b600093505b828410156200011e5784840186015181850187015292850192620000ff565b600086848301015280965050505050505092915050565b600181811c908216806200014a57607f821691505b6020821081036200016b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001bf57600081815260208120601f850160051c810160208610156200019a5750805b601f850160051c820191505b81811015620001bb57828155600101620001a6565b5050505b505050565b81516001600160401b03811115620001e057620001e06200004a565b620001f881620001f1845462000135565b8462000171565b602080601f831160018114620002305760008415620002175750858301515b600019600386901b1c1916600185901b178555620001bb565b600085815260208120601f198616915b82811015620002615788860151825594840194600190910190840162000240565b5085821015620002805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61274c80620002a06000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063b33e471511610066578063b33e4715146100ef578063c0b9d28714610110578063c2eceb1114610125578063e829cd5d14610138578063ebb89de41461015b57600080fd5b80634c8820f81461009857806354dfbd39146100c15780637df1cde2146100d457806392f07a58146100e7575b600080fd5b6100ab6100a63660046119ac565b61016e565b6040516100b89190611af3565b60405180910390f35b6100ab6100cf366004611b0d565b610327565b6100ab6100e2366004611b5e565b6108f7565b6100ab61094f565b6101026100fd366004611c11565b610988565b6040516100b8929190611dd4565b61012361011e366004611df9565b610a23565b005b6101026101333660046119ac565b610a89565b61014b610146366004611e33565b610c1f565b60405190151581526020016100b8565b6100ab610169366004611b0d565b610ce3565b60606101786110a7565b61018157600080fd5b60405163c2eceb1160e01b81526000908190309063c2eceb11906101af908a908a908a908a90600401611f94565b600060405180830381865afa1580156101cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101f49190810190612161565b9150915061028c60008054610208906121ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610234906121ba565b80156102815780601f1061025657610100808354040283529160200191610281565b820191906000526020600020905b81548152906001019060200180831161026457829003601f168201915b505050505082611127565b507f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e8260000151836040015184606001516040516102cc939291906121f4565b60405180910390a160405163c0b9d28760e01b906102ee908490602001612226565b60408051601f198184030181529082905261030c9291602001612239565b60405160208183030381529060405292505050949350505050565b60606103316110a7565b61033a57600080fd5b600061037383604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b8152506111e3565b905060006103b6846040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c6573000000008152506111e3565b905080516000036103e557306040516375fff46760e01b81526004016103dc919061226a565b60405180910390fd5b600081516001600160401b0381111561040057610400611667565b60405190808252806020026020018201604052801561043957816020015b610426611633565b81526020019060019003908161041e5790505b50905060005b825181101561058c57600083828151811061045c5761045c61229d565b6020026020010151905060005b85518110156105595760006104c98783815181106104895761048961229d565b602002602001015160000151604051806040016040528060168152602001756d657673686172653a76303a6d65726765644269647360501b8152506112ab565b8060200190518101906104dc91906122b3565b905061051f816000815181106104f4576104f461229d565b602002602001015187868151811061050e5761050e61229d565b602002602001015160000151610c1f565b15610546578682815181106105365761053661229d565b6020026020010151925050610559565b508061055181612357565b915050610469565b508083838151811061056d5761056d61229d565b602002602001018190525050808061058490612357565b91505061043f565b50600081516001600160401b038111156105a8576105a8611667565b6040519080825280602002602001820160405280156105ed57816020015b60408051808201909152600080825260208201528152602001906001900390816105c65790505b50905060005b82518110156106eb57600061065a8483815181106106135761061361229d565b6020026020010151600001516040518060400160405280601f81526020017f6d657673686172653a76303a65746842756e646c6553696d526573756c7473008152506112ab565b90506000818060200190518101906106729190612370565b90506040518060400160405280826001600160401b031681526020018685815181106106a0576106a061229d565b6020026020010151600001516001600160801b0319168152508484815181106106cb576106cb61229d565b6020026020010181905250505080806106e390612357565b9150506105f3565b50805160005b6106fc60018361238d565b8110156108095760006107108260016123a0565b90505b828110156107f65783818151811061072d5761072d61229d565b6020026020010151600001516001600160401b03168483815181106107545761075461229d565b6020026020010151600001516001600160401b031610156107e45760008483815181106107835761078361229d565b6020026020010151905084828151811061079f5761079f61229d565b60200260200101518584815181106107b9576107b961229d565b6020026020010181905250808583815181106107d7576107d761229d565b6020026020010181905250505b806107ee81612357565b915050610713565b508061080181612357565b9150506106f1565b50600083516001600160401b0381111561082557610825611667565b60405190808252806020026020018201604052801561084e578160200160208202803683370190505b50905060005b83518110156108b85783818151811061086f5761086f61229d565b60200260200101516020015182828151811061088d5761088d61229d565b6001600160801b031990921660209283029190910190910152806108b081612357565b915050610854565b506108e88989836040518060400160405280600b81526020016a06d657673686172653a76360ac1b81525061016e565b96505050505050505b92915050565b60606109016110a7565b61090a57600080fd5b60006109478460405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b8152506112ab565b949350505050565b60606109596110a7565b61096257600080fd5b600061096c611356565b90508080602001905181019061098291906123b3565b91505090565b610990611633565b60607f67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f8460000151846040516109c79291906123e7565b60405180910390a17f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e846000015185604001518660600151604051610a0e939291906121f4565b60405180910390a150829050815b9250929050565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e610a51602083018361240a565b610a616060840160408501612427565b610a6e6060850185612444565b604051610a7e949392919061248d565b60405180910390a150565b610a91611633565b604080516002808252606080830184529260009291906020830190803683370190505090503081600081518110610aca57610aca61229d565b60200260200101906001600160a01b031690816001600160a01b031681525050634210000181600181518110610b0257610b0261229d565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b5d8783846040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b8152506113e8565b9050610bba81600001516040518060400160405280601581526020017464656661756c743a76303a6d65726765644269647360581b81525088604051602001610ba69190612502565b6040516020818303038152906040526114b1565b600080610bcc8a846000015189611563565b91509150610c10836000015160405180604001604052806019815260200178191959985d5b1d0e9d8c0e989d5a5b19195c94185e5b1bd859603a1b815250836114b1565b50909890975095505050505050565b604080516001600160801b03198481166020830152825160108184030181526030830184529084166050830152825180830384018152606090920190925260009190825b8251811015610cd757818181518110610c7e57610c7e61229d565b602001015160f81c60f81b6001600160f81b031916838281518110610ca557610ca561229d565b01602001516001600160f81b03191614610cc557600093505050506108f1565b80610ccf81612357565b915050610c63565b50600195945050505050565b6060610ced6110a7565b610cf657600080fd5b6000610d2f836040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506111e3565b90508051600003610d5557306040516375fff46760e01b81526004016103dc919061226a565b600081516001600160401b03811115610d7057610d70611667565b604051908082528060200260200182016040528015610db557816020015b6040805180820190915260008082526020820152815260200190600190039081610d8e5790505b50905060005b8251811015610eb3576000610e22848381518110610ddb57610ddb61229d565b6020026020010151600001516040518060400160405280601e81526020017f64656661756c743a76303a65746842756e646c6553696d526573756c747300008152506112ab565b9050600081806020019051810190610e3a9190612370565b90506040518060400160405280826001600160401b03168152602001868581518110610e6857610e6861229d565b6020026020010151600001516001600160801b031916815250848481518110610e9357610e9361229d565b602002602001018190525050508080610eab90612357565b915050610dbb565b50805160005b610ec460018361238d565b811015610fd1576000610ed88260016123a0565b90505b82811015610fbe57838181518110610ef557610ef561229d565b6020026020010151600001516001600160401b0316848381518110610f1c57610f1c61229d565b6020026020010151600001516001600160401b03161015610fac576000848381518110610f4b57610f4b61229d565b60200260200101519050848281518110610f6757610f6761229d565b6020026020010151858481518110610f8157610f8161229d565b602002602001018190525080858381518110610f9f57610f9f61229d565b6020026020010181905250505b80610fb681612357565b915050610edb565b5080610fc981612357565b915050610eb9565b50600083516001600160401b03811115610fed57610fed611667565b604051908082528060200260200182016040528015611016578160200160208202803683370190505b50905060005b8351811015611080578381815181106110375761103761229d565b6020026020010151602001518282815181106110555761105561229d565b6001600160801b0319909216602092830291909101909101528061107881612357565b91505061101c565b5061109c8787836040518060200160405280600081525061016e565b979650505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091508161111d576342010000816040516375fff46760e01b81526004016103dc929190612515565b6020015192915050565b60606111316110a7565b61113a57600080fd5b60008063421000026001600160a01b0316858560405160200161115e929190612539565b60408051601f19818403018152908290526111789161254c565b600060405180830381855afa9150503d80600081146111b3576040519150601f19603f3d011682016040523d82523d6000602084013e6111b8565b606091505b509150915081610947576342100002816040516375fff46760e01b81526004016103dc929190612515565b606060008063420300016001600160a01b03168585604051602001611209929190612568565b60408051601f19818403018152908290526112239161254c565b600060405180830381855afa9150503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50915091508161128e576342030001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906112a2919061258a565b95945050505050565b606060008063420200016001600160a01b031685856040516020016112d19291906123e7565b60408051601f19818403018152908290526112eb9161254c565b600060405180830381855afa9150503d8060008114611326576040519150601f19603f3d011682016040523d82523d6000602084013e61132b565b606091505b509150915081610947576342020001816040516375fff46760e01b81526004016103dc929190612515565b60408051600080825260208201928390526060929091829163420100019161137d9161254c565b600060405180830381855afa9150503d80600081146113b8576040519150601f19603f3d011682016040523d82523d6000602084013e6113bd565b606091505b5091509150816108f1576342010001816040516375fff46760e01b81526004016103dc929190612515565b6113f0611633565b60008063420300006001600160a01b031687878787604051602001611418949392919061262d565b60408051601f19818403018152908290526114329161254c565b600060405180830381855afa9150503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50915091508161149d576342030000816040516375fff46760e01b81526004016103dc929190612515565b8080602001905181019061109c9190612661565b60008063420200006001600160a01b03168585856040516020016114d793929190612695565b60408051601f19818403018152908290526114f19161254c565b600060405180830381855afa9150503d806000811461152c576040519150601f19603f3d011682016040523d82523d6000602084013e611531565b606091505b50915091508161155c576342020000816040516375fff46760e01b81526004016103dc929190612515565b5050505050565b60608060008063421000016001600160a01b031687878760405160200161158c939291906126d4565b60408051601f19818403018152908290526115a69161254c565b600060405180830381855afa9150503d80600081146115e1576040519150601f19603f3d011682016040523d82523d6000602084013e6115e6565b606091505b509150915081611611576342100001816040516375fff46760e01b81526004016103dc929190612515565b808060200190518101906116259190612709565b935093505050935093915050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015290565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561169f5761169f611667565b60405290565b60405161010081016001600160401b038111828210171561169f5761169f611667565b60405160c081016001600160401b038111828210171561169f5761169f611667565b604051601f8201601f191681016001600160401b038111828210171561171257611712611667565b604052919050565b6001600160401b038116811461172f57600080fd5b50565b803561173d8161171a565b919050565b60006001600160401b0382111561175b5761175b611667565b50601f01601f191660200190565b600082601f83011261177a57600080fd5b813561178d61178882611742565b6116ea565b8181528460208386010111156117a257600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160a01b038116811461172f57600080fd5b803561173d816117bf565b60006001600160401b038211156117f8576117f8611667565b5060051b60200190565b600082601f83011261181357600080fd5b81356020611823611788836117df565b82815260079290921b8401810191818101908684111561184257600080fd5b8286015b848110156118b9576080818903121561185f5760008081fd5b61186761167d565b81356118728161171a565b8152818501356118818161171a565b81860152604082810135611894816117bf565b908201526060828101356118a78161171a565b90820152835291830191608001611846565b509695505050505050565b600061010082840312156118d757600080fd5b6118df6116a5565b90506118ea82611732565b815260208201356001600160401b038082111561190657600080fd5b61191285838601611769565b60208401526040840135604084015261192d60608501611732565b606084015261193e608085016117d4565b608084015261194f60a08501611732565b60a084015260c084013560c084015260e084013591508082111561197257600080fd5b5061197f84828501611802565b60e08301525092915050565b6001600160801b03198116811461172f57600080fd5b803561173d8161198b565b600080600080608085870312156119c257600080fd5b84356001600160401b03808211156119d957600080fd5b6119e5888389016118c4565b955060209150818701356119f88161171a565b9450604087013581811115611a0c57600080fd5b8701601f81018913611a1d57600080fd5b8035611a2b611788826117df565b81815260059190911b8201840190848101908b831115611a4a57600080fd5b928501925b82841015611a71578335611a628161198b565b82529285019290850190611a4f565b96505050506060870135915080821115611a8a57600080fd5b50611a9787828801611769565b91505092959194509250565b60005b83811015611abe578181015183820152602001611aa6565b50506000910152565b60008151808452611adf816020860160208601611aa3565b601f01601f19169290920160200192915050565b602081526000611b066020830184611ac7565b9392505050565b60008060408385031215611b2057600080fd5b82356001600160401b03811115611b3657600080fd5b611b42858286016118c4565b9250506020830135611b538161171a565b809150509250929050565b60008060408385031215611b7157600080fd5b8235611b7c8161198b565b915060208301356001600160401b03811115611b9757600080fd5b611ba385828601611769565b9150509250929050565b600082601f830112611bbe57600080fd5b81356020611bce611788836117df565b82815260059290921b84018101918181019086841115611bed57600080fd5b8286015b848110156118b9578035611c04816117bf565b8352918301918301611bf1565b60008060408385031215611c2457600080fd5b82356001600160401b0380821115611c3b57600080fd5b9084019060c08287031215611c4f57600080fd5b611c576116c8565b611c60836119a1565b8152611c6e602084016119a1565b6020820152611c7f60408401611732565b6040820152606083013582811115611c9657600080fd5b611ca288828601611bad565b606083015250608083013582811115611cba57600080fd5b611cc688828601611bad565b60808301525060a083013582811115611cde57600080fd5b611cea88828601611769565b60a08301525093506020850135915080821115611d0657600080fd5b50611ba385828601611769565b600081518084526020808501945080840160005b83811015611d4c5781516001600160a01b031687529582019590820190600101611d27565b509495945050505050565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c06060850152611da160c0850182611d13565b905060808301518482036080860152611dba8282611d13565b91505060a083015184820360a08601526112a28282611ac7565b604081526000611de76040830185611d57565b82810360208401526112a28185611ac7565b600060208284031215611e0b57600080fd5b81356001600160401b03811115611e2157600080fd5b820160c08185031215611b0657600080fd5b60008060408385031215611e4657600080fd5b8235611e518161198b565b91506020830135611b538161198b565b600081518084526020808501945080840160005b83811015611d4c57815180516001600160401b039081168952848201518116858a01526040808301516001600160a01b0316908a0152606091820151169088015260809096019590820190600101611e75565b60006101006001600160401b038084511685526020840151826020870152611ef283870182611ac7565b925050604084015160408601528060608501511660608601525060018060a01b03608084015116608085015260a0830151611f3860a08601826001600160401b03169052565b5060c083015160c085015260e083015184820360e08601526112a28282611e61565b600081518084526020808501945080840160005b83811015611d4c5781516001600160801b03191687529582019590820190600101611f6e565b608081526000611fa76080830187611ec8565b6001600160401b03861660208401528281036040840152611fc88186611f5a565b9050828103606084015261109c8185611ac7565b805161173d8161198b565b805161173d8161171a565b600082601f83011261200357600080fd5b81516020612013611788836117df565b82815260059290921b8401810191818101908684111561203257600080fd5b8286015b848110156118b9578051612049816117bf565b8352918301918301612036565b600082601f83011261206757600080fd5b815161207561178882611742565b81815284602083860101111561208a57600080fd5b610947826020830160208701611aa3565b600060c082840312156120ad57600080fd5b6120b56116c8565b90506120c082611fdc565b81526120ce60208301611fdc565b60208201526120df60408301611fe7565b604082015260608201516001600160401b03808211156120fe57600080fd5b61210a85838601611ff2565b6060840152608084015191508082111561212357600080fd5b61212f85838601611ff2565b608084015260a084015191508082111561214857600080fd5b5061215584828501612056565b60a08301525092915050565b6000806040838503121561217457600080fd5b82516001600160401b038082111561218b57600080fd5b6121978683870161209b565b935060208501519150808211156121ad57600080fd5b50611ba385828601612056565b600181811c908216806121ce57607f821691505b6020821081036121ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006112a26060830184611d13565b602081526000611b066020830184611d57565b6001600160e01b031983168152815160009061225c816004850160208701611aa3565b919091016004019392505050565b6001600160a01b03919091168152604060208201819052600790820152666e6f206269647360c81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208083850312156122c657600080fd5b82516001600160401b038111156122dc57600080fd5b8301601f810185136122ed57600080fd5b80516122fb611788826117df565b81815260059190911b8201830190838101908783111561231a57600080fd5b928401925b8284101561109c5783516123328161198b565b8252928401929084019061231f565b634e487b7160e01b600052601160045260246000fd5b60006001820161236957612369612341565b5060010190565b60006020828403121561238257600080fd5b8151611b068161171a565b818103818111156108f1576108f1612341565b808201808211156108f1576108f1612341565b6000602082840312156123c557600080fd5b81516001600160401b038111156123db57600080fd5b61094784828501612056565b6001600160801b0319831681526040602082015260006109476040830184611ac7565b60006020828403121561241c57600080fd5b8135611b068161198b565b60006020828403121561243957600080fd5b8135611b068161171a565b6000808335601e1984360301811261245b57600080fd5b8301803591506001600160401b0382111561247557600080fd5b6020019150600581901b3603821315610a1c57600080fd5b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156124f55783356124da816117bf565b6001600160a01b0316825292820192908201906001016124c7565b5098975050505050505050565b602081526000611b066020830184611f5a565b6001600160a01b038316815260406020820181905260009061094790830184611ac7565b604081526000611de76040830185611ac7565b6000825161255e818460208701611aa3565b9190910192915050565b6001600160401b03831681526040602082015260006109476040830184611ac7565b6000602080838503121561259d57600080fd5b82516001600160401b03808211156125b457600080fd5b818501915085601f8301126125c857600080fd5b81516125d6611788826117df565b81815260059190911b830184019084810190888311156125f557600080fd5b8585015b838110156124f5578051858111156126115760008081fd5b61261f8b89838a010161209b565b8452509186019186016125f9565b6001600160401b038516815260806020820152600061264f6080830186611d13565b8281036040840152611fc88186611d13565b60006020828403121561267357600080fd5b81516001600160401b0381111561268957600080fd5b6109478482850161209b565b6001600160801b0319841681526060602082015260006126b86060830185611ac7565b82810360408401526126ca8185611ac7565b9695505050505050565b6060815260006126e76060830186611ec8565b6001600160801b03198516602084015282810360408401526126ca8185611ac7565b6000806040838503121561271c57600080fd5b82516001600160401b038082111561273357600080fd5b6121978683870161205656fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/bids.sol/EthBundleSenderContract.json b/suave/artifacts/bids.sol/EthBundleSenderContract.json index 9c9ebef64d..f533eb9ced 100644 --- a/suave/artifacts/bids.sol/EthBundleSenderContract.json +++ b/suave/artifacts/bids.sol/EthBundleSenderContract.json @@ -159,19524 +159,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x60806040523480156200001157600080fd5b506040516200161038038062001610833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111f080620004206000396000f3fe60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a", - "sourceMap": "1531:482:18:-:0;;;1619:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1665:26;;;;:11;;:26;;;;;:::i;:::-;;1619:76;1531:482;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1531:482:18;;;-1:-1:-1;1531:482:18;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;14:127:20;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:20;247:40;;-1:-1:-1;;;;;302:34:20;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:20:o;426:1899::-;531:6;562:2;605;593:9;584:7;580:23;576:32;573:52;;;621:1;618;611:12;573:52;648:16;;-1:-1:-1;;;;;713:14:20;;;710:34;;;740:1;737;730:12;710:34;778:6;767:9;763:22;753:32;;804:4;844:7;839:2;835;831:11;827:25;817:53;;866:1;863;856:12;817:53;895:2;889:9;917:2;913;910:10;907:36;;;923:18;;:::i;:::-;969:2;966:1;962:10;992:28;1016:2;1012;1008:11;992:28;:::i;:::-;1054:15;;;1124:11;;;1120:20;;;1085:12;;;;1152:19;;;1149:39;;;1184:1;1181;1174:12;1149:39;1216:2;1212;1208:11;1197:22;;1228:1067;1244:6;1239:3;1236:15;1228:1067;;;1323:3;1317:10;1359:2;1346:11;1343:19;1340:109;;;1403:1;1432:2;1428;1421:14;1340:109;1472:20;;1527:2;1519:11;;1515:25;-1:-1:-1;1505:123:20;;1582:1;1611:2;1607;1600:14;1505:123;1666:2;1662;1658:11;1652:18;1694:2;1689:3;1686:11;1683:37;;;1700:18;;:::i;:::-;1746:52;1770:12;;;-1:-1:-1;;1766:26:20;1762:35;;1746:52;:::i;:::-;1825:3;1818:5;1811:18;1853:2;1898:7;1892:3;1886;1882:2;1878:12;1874:22;1871:35;1868:128;;;1948:1;1978:3;1973;1966:16;1868:128;2018:1;2032:142;2046:3;2043:1;2040:10;2032:142;;;2142:10;;;2138:20;;2132:27;2112:13;;;2108:22;;2101:59;2058:10;;2032:142;;;-1:-1:-1;;2220:1:20;2198:15;;;2194:24;;2187:35;;;;2235:18;;-1:-1:-1;1261:12:20;;;;2273;;;;1228:1067;;;2314:5;426:1899;-1:-1:-1;;;;;;;;;;426:1899:20:o;2330:380::-;2409:1;2405:12;;;;2452;;;2473:61;;2527:4;2519:6;2515:17;2505:27;;2473:61;2580:2;2572:6;2569:14;2549:18;2546:38;2543:161;;2626:10;2621:3;2617:20;2614:1;2607:31;2661:4;2658:1;2651:15;2689:4;2686:1;2679:15;2543:161;;2330:380;;;:::o;2841:545::-;2943:2;2938:3;2935:11;2932:448;;;2979:1;3004:5;3000:2;2993:17;3049:4;3045:2;3035:19;3119:2;3107:10;3103:19;3100:1;3096:27;3090:4;3086:38;3155:4;3143:10;3140:20;3137:47;;;-1:-1:-1;3178:4:20;3137:47;3233:2;3228:3;3224:12;3221:1;3217:20;3211:4;3207:31;3197:41;;3288:82;3306:2;3299:5;3296:13;3288:82;;;3351:17;;;3332:1;3321:13;3288:82;;;3292:3;;;2932:448;2841:545;;;:::o;3562:1352::-;3682:10;;-1:-1:-1;;;;;3704:30:20;;3701:56;;;3737:18;;:::i;:::-;3766:97;3856:6;3816:38;3848:4;3842:11;3816:38;:::i;:::-;3810:4;3766:97;:::i;:::-;3918:4;;3982:2;3971:14;;3999:1;3994:663;;;;4701:1;4718:6;4715:89;;;-1:-1:-1;4770:19:20;;;4764:26;4715:89;-1:-1:-1;;3519:1:20;3515:11;;;3511:24;3507:29;3497:40;3543:1;3539:11;;;3494:57;4817:81;;3964:944;;3994:663;2788:1;2781:14;;;2825:4;2812:18;;-1:-1:-1;;4030:20:20;;;4148:236;4162:7;4159:1;4156:14;4148:236;;;4251:19;;;4245:26;4230:42;;4343:27;;;;4311:1;4299:14;;;;4178:19;;4148:236;;;4152:3;4412:6;4403:7;4400:19;4397:201;;;4473:19;;;4467:26;-1:-1:-1;;4556:1:20;4552:14;;;4568:3;4548:24;4544:37;4540:42;4525:58;4510:74;;4397:201;-1:-1:-1;;;;;4644:1:20;4628:14;;;4624:22;4611:36;;-1:-1:-1;3562:1352:20:o;:::-;1531:482:18;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a", - "sourceMap": "1531:482:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1588:27;;;;;;;;;;-1:-1:-1;1588:27:18;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;642:646;;;;;;:::i;:::-;;:::i;187:228::-;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;:::-;;1588:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;642:646::-;783:12;809:22;:20;:22::i;:::-;801:31;;;;;;837:23;863:4;-1:-1:-1;;;;;863:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;863:37:18;;;;;;;;;;;;:::i;:::-;837:63;;905:10;918:32;939:10;918:20;:32::i;:::-;905:45;;955:20;978:95;991:19;1012:17;1031:16;978:95;;;;;;;;;;;;;-1:-1:-1;;;978:95:18;;;:12;:95::i;:::-;955:118;;1078:73;1107:3;:6;;;1078:73;;;;;;;;;;;;;-1:-1:-1;;;1078:73:18;;;1140:10;1078:28;:73::i;:::-;1184:6;;1155:87;;;;;;;;;;;;;;;;;;;;1226:15;;-1:-1:-1;;;;;5574:31:20;;1226:15:18;;;5556:50:20;1226:15:18;;;;;;;;;;5529:18:20;;1226:15:18;;;1155:87;;1184:6;1155:28;:87::i;:::-;1254:30;1268:3;1273:10;1254:13;:30::i;:::-;1247:37;;;;;642:646;;;;;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;524:61;533:6;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;1698:313:18:-;1803:12;1826:6;1821:127;1842:11;:18;1838:22;;1821:127;;;1872:71;1898:11;1910:1;1898:14;;;;;;;;:::i;:::-;;;;;;;;1872:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1872:71:18;;;1932:10;1872:25;:71::i;:::-;-1:-1:-1;1862:3:18;;;;:::i;:::-;;;;1821:127;;;;1959:48;1991:3;1996:10;1959:31;:48::i;3051:282:14:-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;6605:431::-;6743:12;6779:16;:14;:16::i;:::-;6771:25;;;;;;6807:12;6821:17;1878:42;-1:-1:-1;;;;;6842:33:14;6887:3;6892:6;6900;6876:31;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6876:31:14;;;;;;;;;;6842:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6806:102;;;;6923:7;6918:90;;1878:42;6992:4;6953:44;;-1:-1:-1;;;6953:44:14;;;;;;;;;:::i;6918:90::-;7025:4;6605:431;-1:-1:-1;;;;;6605:431:14:o;1291:236:18:-;1376:12;1399:61;1408:3;:6;;;1416:3;:23;;;1441:3;:18;;;1399:61;;;;;;;;:::i;:::-;;;;;;;;1507:15;;-1:-1:-1;;;1484:21:18;1507:15;;1518:3;;1507:15;;;:::i;:::-;;;;-1:-1:-1;;1507:15:18;;;;;;;;;;1471:52;;;1507:15;1471:52;;:::i;:::-;;;;;;;;;;;;;1464:59;;1291:236;;;;:::o;14:180:20:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:20;;14:180;-1:-1:-1;14:180:20:o;199:250::-;284:1;294:113;308:6;305:1;302:13;294:113;;;384:11;;;378:18;365:11;;;358:39;330:2;323:10;294:113;;;-1:-1:-1;;441:1:20;423:16;;416:27;199:250::o;454:271::-;496:3;534:5;528:12;561:6;556:3;549:19;577:76;646:6;639:4;634:3;630:14;623:4;616:5;612:16;577:76;:::i;:::-;707:2;686:15;-1:-1:-1;;682:29:20;673:39;;;;714:4;669:50;;454:271;-1:-1:-1;;454:271:20:o;730:220::-;879:2;868:9;861:21;842:4;899:45;940:2;929:9;925:18;917:6;899:45;:::i;955:129::-;-1:-1:-1;;;;;1033:5:20;1029:30;1022:5;1019:41;1009:69;;1074:1;1071;1064:12;1009:69;955:129;:::o;1089:127::-;1150:10;1145:3;1141:20;1138:1;1131:31;1181:4;1178:1;1171:15;1205:4;1202:1;1195:15;1221:253;1293:2;1287:9;1335:4;1323:17;;-1:-1:-1;;;;;1355:34:20;;1391:22;;;1352:62;1349:88;;;1417:18;;:::i;:::-;1453:2;1446:22;1221:253;:::o;1479:275::-;1550:2;1544:9;1615:2;1596:13;;-1:-1:-1;;1592:27:20;1580:40;;-1:-1:-1;;;;;1635:34:20;;1671:22;;;1632:62;1629:88;;;1697:18;;:::i;:::-;1733:2;1726:22;1479:275;;-1:-1:-1;1479:275:20:o;1759:183::-;1819:4;-1:-1:-1;;;;;1844:6:20;1841:30;1838:56;;;1874:18;;:::i;:::-;-1:-1:-1;1919:1:20;1915:14;1931:4;1911:25;;1759:183::o;1947:131::-;-1:-1:-1;;;;;2022:31:20;;2012:42;;2002:70;;2068:1;2065;2058:12;2083:737;2137:5;2190:3;2183:4;2175:6;2171:17;2167:27;2157:55;;2208:1;2205;2198:12;2157:55;2244:6;2231:20;2270:4;2294:60;2310:43;2350:2;2310:43;:::i;:::-;2294:60;:::i;:::-;2388:15;;;2474:1;2470:10;;;;2458:23;;2454:32;;;2419:12;;;;2498:15;;;2495:35;;;2526:1;2523;2516:12;2495:35;2562:2;2554:6;2550:15;2574:217;2590:6;2585:3;2582:15;2574:217;;;2670:3;2657:17;2687:31;2712:5;2687:31;:::i;:::-;2731:18;;2769:12;;;;2607;;2574:217;;;-1:-1:-1;2809:5:20;2083:737;-1:-1:-1;;;;;;2083:737:20:o;2825:728::-;2951:6;2959;2967;3020:2;3008:9;2999:7;2995:23;2991:32;2988:52;;;3036:1;3033;3026:12;2988:52;3075:9;3062:23;3094:30;3118:5;3094:30;:::i;:::-;3143:5;-1:-1:-1;3199:2:20;3184:18;;3171:32;-1:-1:-1;;;;;3252:14:20;;;3249:34;;;3279:1;3276;3269:12;3249:34;3302:61;3355:7;3346:6;3335:9;3331:22;3302:61;:::i;:::-;3292:71;;3416:2;3405:9;3401:18;3388:32;3372:48;;3445:2;3435:8;3432:16;3429:36;;;3461:1;3458;3451:12;3429:36;;3484:63;3539:7;3528:8;3517:9;3513:24;3484:63;:::i;:::-;3474:73;;;2825:728;;;;;:::o;3781:384::-;3864:6;3917:2;3905:9;3896:7;3892:23;3888:32;3885:52;;;3933:1;3930;3923:12;3885:52;3973:9;3960:23;-1:-1:-1;;;;;3998:6:20;3995:30;3992:50;;;4038:1;4035;4028:12;3992:50;4061:22;;4117:3;4099:16;;;4095:26;4092:46;;;4134:1;4131;4124:12;4170:380;4249:1;4245:12;;;;4292;;;4313:61;;4367:4;4359:6;4355:17;4345:27;;4313:61;4420:2;4412:6;4409:14;4389:18;4386:38;4383:161;;4466:10;4461:3;4457:20;4454:1;4447:31;4501:4;4498:1;4491:15;4529:4;4526:1;4519:15;4383:161;;4170:380;;;:::o;4555:390::-;4630:5;-1:-1:-1;;;;;4656:6:20;4653:30;4650:56;;;4686:18;;:::i;:::-;4724:57;4769:2;4748:15;;-1:-1:-1;;4744:29:20;4775:4;4740:40;4724:57;:::i;:::-;4715:66;;4804:6;4797:5;4790:21;4844:3;4835:6;4830:3;4826:16;4823:25;4820:45;;;4861:1;4858;4851:12;4820:45;4874:65;4932:6;4925:4;4918:5;4914:16;4909:3;4874:65;:::i;4950:457::-;5029:6;5082:2;5070:9;5061:7;5057:23;5053:32;5050:52;;;5098:1;5095;5088:12;5050:52;5131:9;5125:16;-1:-1:-1;;;;;5156:6:20;5153:30;5150:50;;;5196:1;5193;5186:12;5150:50;5219:22;;5272:4;5264:13;;5260:27;-1:-1:-1;5250:55:20;;5301:1;5298;5291:12;5250:55;5324:77;5393:7;5388:2;5382:9;5377:2;5373;5369:11;5324:77;:::i;5617:170::-;-1:-1:-1;;5711:51:20;;5701:62;;5691:90;;5777:1;5774;5767:12;5792:293;5878:6;5931:2;5919:9;5910:7;5906:23;5902:32;5899:52;;;5947:1;5944;5937:12;5899:52;5986:9;5973:23;6005:50;6049:5;6005:50;:::i;6090:245::-;6148:6;6201:2;6189:9;6180:7;6176:23;6172:32;6169:52;;;6217:1;6214;6207:12;6169:52;6256:9;6243:23;6275:30;6299:5;6275:30;:::i;6340:545::-;6433:4;6439:6;6499:11;6486:25;6593:2;6589:7;6578:8;6562:14;6558:29;6554:43;6534:18;6530:68;6520:96;;6612:1;6609;6602:12;6520:96;6639:33;;6691:20;;;-1:-1:-1;;;;;;6723:30:20;;6720:50;;;6766:1;6763;6756:12;6720:50;6799:4;6787:17;;-1:-1:-1;6850:1:20;6846:14;;;6830;6826:35;6816:46;;6813:66;;;6875:1;6872;6865:12;6813:66;6340:545;;;;;:::o;6890:944::-;7123:4;7171:2;7160:9;7156:18;-1:-1:-1;;;;;7213:39:20;7205:6;7201:52;7190:9;7183:71;7273:2;-1:-1:-1;;;;;7315:6:20;7311:31;7306:2;7295:9;7291:18;7284:59;7379:2;7374;7363:9;7359:18;7352:30;7402:6;7432;7424;7417:22;7470:3;7459:9;7455:19;7448:26;;7497:6;7483:20;;7521:1;7531:277;7545:6;7542:1;7539:13;7531:277;;;7620:6;7607:20;7640:31;7665:5;7640:31;:::i;:::-;-1:-1:-1;;;;;7696:31:20;7684:44;;7783:15;;;;7748:12;;;;7724:1;7560:9;7531:277;;;-1:-1:-1;7825:3:20;6890:944;-1:-1:-1;;;;;;;;6890:944:20:o;8049:315::-;-1:-1:-1;;;;;8224:32:20;;8206:51;;8293:2;8288;8273:18;;8266:30;;;-1:-1:-1;;8313:45:20;;8339:18;;8331:6;8313:45;:::i;8369:287::-;8498:3;8536:6;8530:13;8552:66;8611:6;8606:3;8599:4;8591:6;8587:17;8552:66;:::i;:::-;8634:16;;;;;8369:287;-1:-1:-1;;8369:287:20:o;8661:136::-;8739:13;;8761:30;8739:13;8761:30;:::i;:::-;8661:136;;;:::o;8802:249::-;8871:6;8924:2;8912:9;8903:7;8899:23;8895:32;8892:52;;;8940:1;8937;8930:12;8892:52;8972:9;8966:16;8991:30;9015:5;8991:30;:::i;9056:461::-;9109:3;9147:5;9141:12;9174:6;9169:3;9162:19;9200:4;9229:2;9224:3;9220:12;9213:19;;9266:2;9259:5;9255:14;9287:1;9297:195;9311:6;9308:1;9305:13;9297:195;;;9376:13;;-1:-1:-1;;;;;9372:39:20;9360:52;;9432:12;;;;9467:15;;;;9408:1;9326:9;9297:195;;;-1:-1:-1;9508:3:20;;9056:461;-1:-1:-1;;;;;9056:461:20:o;9522:724::-;-1:-1:-1;;;;;9857:6:20;9853:31;9842:9;9835:50;9921:3;9916:2;9905:9;9901:18;9894:31;9816:4;9948:57;10000:3;9989:9;9985:19;9977:6;9948:57;:::i;:::-;10053:9;10045:6;10041:22;10036:2;10025:9;10021:18;10014:50;10087:44;10124:6;10116;10087:44;:::i;:::-;10073:58;;10179:9;10171:6;10167:22;10162:2;10151:9;10147:18;10140:50;10207:33;10233:6;10225;10207:33;:::i;10251:176::-;10349:13;;10371:50;10349:13;10371:50;:::i;10432:734::-;10497:5;10550:3;10543:4;10535:6;10531:17;10527:27;10517:55;;10568:1;10565;10558:12;10517:55;10597:6;10591:13;10623:4;10647:60;10663:43;10703:2;10663:43;:::i;10647:60::-;10741:15;;;10827:1;10823:10;;;;10811:23;;10807:32;;;10772:12;;;;10851:15;;;10848:35;;;10879:1;10876;10869:12;10848:35;10915:2;10907:6;10903:15;10927:210;10943:6;10938:3;10935:15;10927:210;;;11016:3;11010:10;11033:31;11058:5;11033:31;:::i;:::-;11077:18;;11115:12;;;;10960;;10927:210;;11171:236;11225:5;11278:3;11271:4;11263:6;11259:17;11255:27;11245:55;;11296:1;11293;11286:12;11245:55;11318:83;11397:3;11388:6;11382:13;11375:4;11367:6;11363:17;11318:83;:::i;11412:1256::-;11504:6;11557:2;11545:9;11536:7;11532:23;11528:32;11525:52;;;11573:1;11570;11563:12;11525:52;11606:9;11600:16;-1:-1:-1;;;;;11676:2:20;11668:6;11665:14;11662:34;;;11692:1;11689;11682:12;11662:34;11715:22;;;;11771:4;11753:16;;;11749:27;11746:47;;;11789:1;11786;11779:12;11746:47;11815:22;;:::i;:::-;11860:52;11909:2;11860:52;:::i;:::-;11853:5;11846:67;11945:61;12002:2;11998;11994:11;11945:61;:::i;:::-;11940:2;11933:5;11929:14;11922:85;12039:41;12076:2;12072;12068:11;12039:41;:::i;:::-;12034:2;12027:5;12023:14;12016:65;12120:2;12116;12112:11;12106:18;12149:2;12139:8;12136:16;12133:36;;;12165:1;12162;12155:12;12133:36;12201:67;12260:7;12249:8;12245:2;12241:17;12201:67;:::i;:::-;12196:2;12189:5;12185:14;12178:91;;12308:3;12304:2;12300:12;12294:19;12338:2;12328:8;12325:16;12322:36;;;12354:1;12351;12344:12;12322:36;12391:67;12450:7;12439:8;12435:2;12431:17;12391:67;:::i;:::-;12385:3;12378:5;12374:15;12367:92;;12498:3;12494:2;12490:12;12484:19;12528:2;12518:8;12515:16;12512:36;;;12544:1;12541;12534:12;12512:36;12581:56;12629:7;12618:8;12614:2;12610:17;12581:56;:::i;:::-;12575:3;12564:15;;12557:81;-1:-1:-1;12568:5:20;11412:1256;-1:-1:-1;;;;;11412:1256:20:o;12673:525::-;-1:-1:-1;;;;;12935:39:20;12927:6;12923:52;12912:9;12905:71;13012:2;13007;12996:9;12992:18;12985:30;12886:4;13038:45;13079:2;13068:9;13064:18;13056:6;13038:45;:::i;:::-;13131:9;13123:6;13119:22;13114:2;13103:9;13099:18;13092:50;13159:33;13185:6;13177;13159:33;:::i;:::-;13151:41;12673:525;-1:-1:-1;;;;;;12673:525:20:o;13203:127::-;13264:10;13259:3;13255:20;13252:1;13245:31;13295:4;13292:1;13285:15;13319:4;13316:1;13309:15;13335:232;13374:3;13395:17;;;13392:140;;13454:10;13449:3;13445:20;13442:1;13435:31;13489:4;13486:1;13479:15;13517:4;13514:1;13507:15;13392:140;-1:-1:-1;13559:1:20;13548:13;;13335:232::o;13572:544::-;13815:2;13804:9;13797:21;13778:4;13841:45;13882:2;13871:9;13867:18;13859:6;13841:45;:::i;:::-;13934:9;13926:6;13922:22;13917:2;13906:9;13902:18;13895:50;13968:33;13994:6;13986;13968:33;:::i;:::-;13954:47;;14049:9;14041:6;14037:22;14032:2;14021:9;14017:18;14010:50;14077:33;14103:6;14095;14077:33;:::i;14121:499::-;-1:-1:-1;;;;;14393:39:20;14385:6;14381:52;14370:9;14363:71;-1:-1:-1;;;;;14474:6:20;14470:31;14465:2;14454:9;14450:18;14443:59;14538:2;14533;14522:9;14518:18;14511:30;14344:4;14558:56;14610:2;14599:9;14595:18;14587:6;14558:56;:::i;14625:1036::-;14798:2;14787:9;14780:21;14761:4;-1:-1:-1;;;;;14820:39:20;14914:2;14905:6;14899:13;14895:22;14890:2;14879:9;14875:18;14868:50;14982:2;14976;14968:6;14964:15;14958:22;14954:31;14949:2;14938:9;14934:18;14927:59;;-1:-1:-1;;;;;15044:2:20;15036:6;15032:15;15026:22;15022:47;15017:2;15006:9;15002:18;14995:75;15117:2;15109:6;15105:15;15099:22;15158:4;15152:3;15141:9;15137:19;15130:33;15186:63;15244:3;15233:9;15229:19;15215:12;15186:63;:::i;:::-;15172:77;;15298:3;15290:6;15286:16;15280:23;15326:2;15322:7;15394:2;15382:9;15374:6;15370:22;15366:31;15360:3;15349:9;15345:19;15338:60;15421:52;15466:6;15450:14;15421:52;:::i;:::-;15407:66;;15522:3;15514:6;15510:16;15504:23;15482:45;;15593:2;15581:9;15573:6;15569:22;15565:31;15558:4;15547:9;15543:20;15536:61;;15614:41;15648:6;15632:14;15614:41;:::i;15666:384::-;-1:-1:-1;;;;;;15851:33:20;;15839:46;;15908:13;;15821:3;;15930:74;15908:13;15993:1;15984:11;;15977:4;15965:17;;15930:74;:::i;:::-;16024:16;;;;16042:1;16020:24;;15666:384;-1:-1:-1;;;15666:384:20:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "builderUrls(uint256)": "1141a0b0", - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "fetchBidConfidentialBundleData()": "92f07a58", - "newBid(uint64,address[],address[])": "236eb5a7" + "object": "0x60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"builderUrls_\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"builderUrls\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"EthBundleSenderContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string[]", - "name": "builderUrls_", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "builderUrls", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "bidAllowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bidAllowedStores", - "type": "address[]" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "newBid", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "EthBundleSenderContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] - }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x60806040523480156200001157600080fd5b506040516200161038038062001610833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111f080620004206000396000f3fe60806040526004361061003f5760003560e01c80631141a0b014610044578063236eb5a71461007a57806392f07a581461008d578063c0b9d287146100a2575b600080fd5b34801561005057600080fd5b5061006461005f366004610984565b6100c4565b60405161007191906109ed565b60405180910390f35b610064610088366004610b32565b610170565b34801561009957600080fd5b506100646102ee565b3480156100ae57600080fd5b506100c26100bd366004610ba7565b610327565b005b600081815481106100d457600080fd5b9060005260206000200160009150905080546100ef90610be1565b80601f016020809104026020016040519081016040528092919081815260200182805461011b90610be1565b80156101685780601f1061013d57610100808354040283529160200191610168565b820191906000526020600020905b81548152906001019060200180831161014b57829003601f168201915b505050505081565b606061017a61038d565b61018357600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156101c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ed9190810190610c69565b905060006101fa82610416565b905060006102378787876040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b8152506104db565b905061027581600001516040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250856105d8565b8051604080518082018252601e81527f64656661756c743a76303a65746842756e646c6553696d526573756c7473000060208083019190915282516001600160401b038716818301528351808203909201825283019092526102d792916105d8565b6102e1818461068a565b93505050505b9392505050565b60606102f861038d565b61030157600080fd5b600061030b61078d565b9050808060200190518101906103219190610c69565b91505090565b7f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e6103556020830183610cd0565b6103656060840160408501610ced565b6103726060850185610d0a565b6040516103829493929190610d5a565b60405180910390a150565b6040516000908190819063420100009082818181855afa9150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b50915091508161040c576342010000816040516375fff46760e01b8152600401610403929190610dcf565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161043a91906109ed565b60408051601f198184030181529082905261045491610df3565b600060405180830381855afa9150503d806000811461048f576040519150601f19603f3d011682016040523d82523d6000602084013e610494565b606091505b5091509150816104bf576342100000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906104d39190610e1f565b949350505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016105349493929190610e80565b60408051601f198184030181529082905261054e91610df3565b600060405180830381855afa9150503d8060008114610589576040519150601f19603f3d011682016040523d82523d6000602084013e61058e565b606091505b5091509150816105b9576342030000816040516375fff46760e01b8152600401610403929190610dcf565b808060200190518101906105cd9190610f57565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016105fe9392919061103e565b60408051601f198184030181529082905261061891610df3565b600060405180830381855afa9150503d8060008114610653576040519150601f19603f3d011682016040523d82523d6000602084013e610658565b606091505b509150915081610683576342020000816040516375fff46760e01b8152600401610403929190610dcf565b5050505050565b606060005b6000548110156107825761076f600082815481106106af576106af61107d565b9060005260206000200180546106c490610be1565b80601f01602080910402602001604051908101604052809291908181526020018280546106f090610be1565b801561073d5780601f106107125761010080835404028352916020019161073d565b820191906000526020600020905b81548152906001019060200180831161072057829003601f168201915b50505050506040518060400160405280600e81526020016d6574685f73656e6442756e646c6560901b81525085610825565b508061077a81611093565b91505061068f565b506102e783836108ec565b6040805160008082526020820192839052606092909182916342010001916107b491610df3565b600060405180830381855afa9150503d80600081146107ef576040519150601f19603f3d011682016040523d82523d6000602084013e6107f4565b606091505b50915091508161081f576342010001816040516375fff46760e01b8152600401610403929190610dcf565b92915050565b606061082f61038d565b61083857600080fd5b60008063430000016001600160a01b031686868660405160200161085e939291906110ba565b60408051601f198184030181529082905261087891610df3565b600060405180830381855afa9150503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b5091509150816108e3576343000001816040516375fff46760e01b8152600401610403929190610dcf565b95945050505050565b60607f83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e83600001518460400151856060015160405161092d939291906110f3565b60405180910390a160405163c0b9d28760e01b9061094f908590602001611125565b60408051601f198184030181529082905261096d92916020016111b2565b604051602081830303815290604052905092915050565b60006020828403121561099657600080fd5b5035919050565b60005b838110156109b85781810151838201526020016109a0565b50506000910152565b600081518084526109d981602086016020860161099d565b601f01601f19169290920160200192915050565b6020815260006102e760208301846109c1565b6001600160401b0381168114610a1557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610a5057610a50610a18565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a18565b604052919050565b60006001600160401b03821115610a9f57610a9f610a18565b5060051b60200190565b6001600160a01b0381168114610a1557600080fd5b600082601f830112610acf57600080fd5b81356020610ae4610adf83610a86565b610a56565b82815260059290921b84018101918181019086841115610b0357600080fd5b8286015b84811015610b27578035610b1a81610aa9565b8352918301918301610b07565b509695505050505050565b600080600060608486031215610b4757600080fd5b8335610b5281610a00565b925060208401356001600160401b0380821115610b6e57600080fd5b610b7a87838801610abe565b93506040860135915080821115610b9057600080fd5b50610b9d86828701610abe565b9150509250925092565b600060208284031215610bb957600080fd5b81356001600160401b03811115610bcf57600080fd5b820160c081850312156102e757600080fd5b600181811c90821680610bf557607f821691505b602082108103610c1557634e487b7160e01b600052602260045260246000fd5b50919050565b60006001600160401b03831115610c3457610c34610a18565b610c47601f8401601f1916602001610a56565b9050828152838383011115610c5b57600080fd5b6102e783602083018461099d565b600060208284031215610c7b57600080fd5b81516001600160401b03811115610c9157600080fd5b8201601f81018413610ca257600080fd5b6104d384825160208401610c1b565b6fffffffffffffffffffffffffffffffff1981168114610a1557600080fd5b600060208284031215610ce257600080fd5b81356102e781610cb1565b600060208284031215610cff57600080fd5b81356102e781610a00565b6000808335601e19843603018112610d2157600080fd5b8301803591506001600160401b03821115610d3b57600080fd5b6020019150600581901b3603821315610d5357600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b86811015610dc2578335610da781610aa9565b6001600160a01b031682529282019290820190600101610d94565b5098975050505050505050565b6001600160a01b03831681526040602082018190526000906104d3908301846109c1565b60008251610e0581846020870161099d565b9190910192915050565b8051610e1a81610a00565b919050565b600060208284031215610e3157600080fd5b81516102e781610a00565b600081518084526020808501945080840160005b83811015610e755781516001600160a01b031687529582019590820190600101610e50565b509495945050505050565b6001600160401b0385168152608060208201526000610ea26080830186610e3c565b8281036040840152610eb48186610e3c565b905082810360608401526105cd81856109c1565b8051610e1a81610cb1565b600082601f830112610ee457600080fd5b81516020610ef4610adf83610a86565b82815260059290921b84018101918181019086841115610f1357600080fd5b8286015b84811015610b27578051610f2a81610aa9565b8352918301918301610f17565b600082601f830112610f4857600080fd5b6102e783835160208501610c1b565b600060208284031215610f6957600080fd5b81516001600160401b0380821115610f8057600080fd5b9083019060c08286031215610f9457600080fd5b610f9c610a2e565b610fa583610ec8565b8152610fb360208401610ec8565b6020820152610fc460408401610e0f565b6040820152606083015182811115610fdb57600080fd5b610fe787828601610ed3565b606083015250608083015182811115610fff57600080fd5b61100b87828601610ed3565b60808301525060a08301518281111561102357600080fd5b61102f87828601610f37565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061106160608301856109c1565b828103604084015261107381856109c1565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016110b357634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006110cd60608301866109c1565b82810360208401526110df81866109c1565b9050828103604084015261107381856109c1565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006108e36060830184610e3c565b6020815260006001600160801b0319808451166020840152806020850151166040840152506001600160401b036040840151166060830152606083015160c0608084015261117660e0840182610e3c565b90506080840151601f19808584030160a08601526111948383610e3c565b925060a08601519150808584030160c0860152506108e382826109c1565b6001600160e01b03198316815281516000906111d581600485016020870161099d565b91909101600401939250505056fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/bids.sol/MevShareBidContract.json b/suave/artifacts/bids.sol/MevShareBidContract.json index 3924b28263..10eed15271 100644 --- a/suave/artifacts/bids.sol/MevShareBidContract.json +++ b/suave/artifacts/bids.sol/MevShareBidContract.json @@ -251,19616 +251,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b5061154c806100206000396000f3fe60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", - "sourceMap": "2015:2874:18:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", - "sourceMap": "2015:2874:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2191:1042;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3236:180;;;;;;;;;;-1:-1:-1;3236:180:18;;;;;:::i;:::-;;:::i;:::-;;187:228;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;3419:1174::-;;;;;;:::i;:::-;;:::i;2191:1042::-;2332:12;2395:22;:20;:22::i;:::-;2387:31;;;;;;2449:23;2475:4;-1:-1:-1;;;;;2475:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2475:37:18;;;;;;;;;;;;:::i;:::-;2449:63;;2536:10;2549:32;2570:10;2549:20;:32::i;:::-;2536:45;;2609:17;2629:29;2647:10;2629:17;:29::i;:::-;2609:49;;2705:20;2728:102;2741:19;2762:17;2781:16;2728:102;;;;;;;;;;;;;;;;;:12;:102::i;:::-;2705:125;;2834:74;2863:3;:6;;;2834:74;;;;;;;;;;;;;-1:-1:-1;;;2834:74:18;;;2897:10;2834:28;:74::i;:::-;2941:6;;2912:88;;;;;;;;;;;;;;;;;;;;2984:15;;-1:-1:-1;;;;;7040:31:20;;2984:15:18;;;7022:50:20;;;;2912:88:18;;2941:6;6995:18:20;2984:15:18;;;;;;;;;;;;;2912:28;:88::i;:::-;-1:-1:-1;;;;;;;;;;;3018:3:18;:6;;;3026:3;:23;;;3051:3;:18;;;3009:61;;;;;;;;:::i;:::-;;;;;;;;3089:6;;3079:23;;;;;;3097:4;;3079:23;:::i;:::-;;;;;;;;3207:21;;-1:-1:-1;;;3177:28:18;3207:21;;3218:3;;3223:4;;3207:21;;;:::i;:::-;;;;-1:-1:-1;;3207:21:18;;;;;;;;;;3164:65;;;3207:21;3164:65;;:::i;:::-;;;;;;;;;;;;;3157:72;;;;;;2191:1042;;;;;;:::o;3236:180::-;-1:-1:-1;;;;;;;;;;;3328:6:18;;;;:3;:6;:::i;:::-;3336:23;;;;;;;;:::i;:::-;3361:18;;;;:3;:18;:::i;:::-;3319:61;;;;;;;;;:::i;:::-;;;;;;;;3389:23;3399:6;;;;:3;:6;:::i;:::-;3407:4;3389:23;;;;;;;:::i;:::-;;;;;;;;3236:180;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;-1:-1:-1;;;;;;;;;;;533:6:18;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;3419:1174::-;3586:12;3741:22;:20;:22::i;:::-;3733:31;;;;;;3800:28;3831:4;-1:-1:-1;;;;;3831:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3831:37:18;;;;;;;;;;;;:::i;:::-;3800:68;;3910:10;3923:37;3944:15;3923:20;:37::i;:::-;3910:50;;3986:22;4011:34;4029:15;4011:17;:34::i;:::-;3986:59;;4052:20;4075:95;4088:19;4109:17;4128:16;4075:95;;;;;;;;;;;;;-1:-1:-1;;;4075:95:18;;;:12;:95::i;:::-;4052:118;;4174:79;4203:3;:6;;;4174:79;;;;;;;;;;;;;-1:-1:-1;;;4174:79:18;;;4237:15;4174:28;:79::i;:::-;4286:6;;4257:86;;;;;;;;;;;;;;;;;;;;4329:13;;4286:6;4329:13;;;12234:36:20;;;;4257:86:18;;4286:6;12207:18:20;4329:13:18;12082:194:20;4257:86:18;4394:20;;;4412:1;4394:20;;;;;;;;4366:25;;4394:20;;;;;;;;;;-1:-1:-1;4394:20:18;4366:48;;4428:10;4418:4;4423:1;4418:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;4418:20:18;;;:7;;;;;;;;;;;:20;4452:6;;4442:7;;:4;;4447:1;;4442:7;;;;;;:::i;:::-;-1:-1:-1;;;;;;4442:16:18;;;:7;;;;;;;;;;:16;4491:6;;4462:80;;;;;;;;;;;-1:-1:-1;;;4462:80:18;;;;4525:16;;4462:80;;4525:16;;4536:4;;4525:16;;:::i;4462:80::-;4554:35;4574:3;4579:9;4554:19;:35::i;:::-;4547:42;3419:1174;-1:-1:-1;;;;;;;;;;3419:1174:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;4349:329::-;4418:12;4450:16;:14;:16::i;:::-;4442:25;;;;;;4478:12;4492:17;1327:42;-1:-1:-1;;;;;4513:23:14;4548:10;4537:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4537:22:14;;;;;;;;;;4513:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4477:83;;;;4575:7;4570:80;;1327:42;4634:4;4605:34;;-1:-1:-1;;;4605:34:14;;;;;;;;;:::i;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;4596:291:18:-;4697:12;-1:-1:-1;;;;;;;;;;;4729:3:18;:6;;;4737:3;:23;;;4762:3;:18;;;4720:61;;;;;;;;:::i;:::-;;;;;;;;4801:6;;4790:29;;;;;;4809:9;;4790:29;:::i;:::-;;;;;;;;4867:15;;-1:-1:-1;;;4844:21:18;4867:15;;4878:3;;4867:15;;;:::i;:::-;;;;-1:-1:-1;;4867:15:18;;;;;;;;;;4831:52;;;4867:15;4831:52;;:::i;:::-;;;;;;;;;;;;;4824:59;;4596:291;;;;:::o;14:129:20:-;-1:-1:-1;;;;;92:5:20;88:30;81:5;78:41;68:69;;133:1;130;123:12;68:69;14:129;:::o;148:127::-;209:10;204:3;200:20;197:1;190:31;240:4;237:1;230:15;264:4;261:1;254:15;280:253;352:2;346:9;394:4;382:17;;-1:-1:-1;;;;;414:34:20;;450:22;;;411:62;408:88;;;476:18;;:::i;:::-;512:2;505:22;280:253;:::o;538:275::-;609:2;603:9;674:2;655:13;;-1:-1:-1;;651:27:20;639:40;;-1:-1:-1;;;;;694:34:20;;730:22;;;691:62;688:88;;;756:18;;:::i;:::-;792:2;785:22;538:275;;-1:-1:-1;538:275:20:o;818:183::-;878:4;-1:-1:-1;;;;;903:6:20;900:30;897:56;;;933:18;;:::i;:::-;-1:-1:-1;978:1:20;974:14;990:4;970:25;;818:183::o;1006:131::-;-1:-1:-1;;;;;1081:31:20;;1071:42;;1061:70;;1127:1;1124;1117:12;1142:737;1196:5;1249:3;1242:4;1234:6;1230:17;1226:27;1216:55;;1267:1;1264;1257:12;1216:55;1303:6;1290:20;1329:4;1353:60;1369:43;1409:2;1369:43;:::i;:::-;1353:60;:::i;:::-;1447:15;;;1533:1;1529:10;;;;1517:23;;1513:32;;;1478:12;;;;1557:15;;;1554:35;;;1585:1;1582;1575:12;1554:35;1621:2;1613:6;1609:15;1633:217;1649:6;1644:3;1641:15;1633:217;;;1729:3;1716:17;1746:31;1771:5;1746:31;:::i;:::-;1790:18;;1828:12;;;;1666;;1633:217;;;-1:-1:-1;1868:5:20;1142:737;-1:-1:-1;;;;;;1142:737:20:o;1884:728::-;2010:6;2018;2026;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;2134:9;2121:23;2153:30;2177:5;2153:30;:::i;:::-;2202:5;-1:-1:-1;2258:2:20;2243:18;;2230:32;-1:-1:-1;;;;;2311:14:20;;;2308:34;;;2338:1;2335;2328:12;2308:34;2361:61;2414:7;2405:6;2394:9;2390:22;2361:61;:::i;:::-;2351:71;;2475:2;2464:9;2460:18;2447:32;2431:48;;2504:2;2494:8;2491:16;2488:36;;;2520:1;2517;2510:12;2488:36;;2543:63;2598:7;2587:8;2576:9;2572:24;2543:63;:::i;:::-;2533:73;;;1884:728;;;;;:::o;2617:250::-;2702:1;2712:113;2726:6;2723:1;2720:13;2712:113;;;2802:11;;;2796:18;2783:11;;;2776:39;2748:2;2741:10;2712:113;;;-1:-1:-1;;2859:1:20;2841:16;;2834:27;2617:250::o;2872:270::-;2913:3;2951:5;2945:12;2978:6;2973:3;2966:19;2994:76;3063:6;3056:4;3051:3;3047:14;3040:4;3033:5;3029:16;2994:76;:::i;:::-;3124:2;3103:15;-1:-1:-1;;3099:29:20;3090:39;;;;3131:4;3086:50;;2872:270;-1:-1:-1;;2872:270:20:o;3147:217::-;3294:2;3283:9;3276:21;3257:4;3314:44;3354:2;3343:9;3339:18;3331:6;3314:44;:::i;3369:152::-;3425:5;3470:3;3461:6;3456:3;3452:16;3448:26;3445:46;;;3487:1;3484;3477:12;3445:46;-1:-1:-1;3509:6:20;3369:152;-1:-1:-1;3369:152:20:o;3526:186::-;3574:4;-1:-1:-1;;;;;3599:6:20;3596:30;3593:56;;;3629:18;;:::i;:::-;-1:-1:-1;3695:2:20;3674:15;-1:-1:-1;;3670:29:20;3701:4;3666:40;;3526:186::o;3717:919::-;3818:6;3826;3879:2;3867:9;3858:7;3854:23;3850:32;3847:52;;;3895:1;3892;3885:12;3847:52;3935:9;3922:23;-1:-1:-1;;;;;4005:2:20;3997:6;3994:14;3991:34;;;4021:1;4018;4011:12;3991:34;4044:63;4099:7;4090:6;4079:9;4075:22;4044:63;:::i;:::-;4034:73;;4160:2;4149:9;4145:18;4132:32;4116:48;;4189:2;4179:8;4176:16;4173:36;;;4205:1;4202;4195:12;4173:36;-1:-1:-1;4228:24:20;;4283:4;4275:13;;4271:27;-1:-1:-1;4261:55:20;;4312:1;4309;4302:12;4261:55;4348:2;4335:16;4373:48;4389:31;4417:2;4389:31;:::i;4373:48::-;4444:2;4437:5;4430:17;4484:7;4479:2;4474;4470;4466:11;4462:20;4459:33;4456:53;;;4505:1;4502;4495:12;4456:53;4560:2;4555;4551;4547:11;4542:2;4535:5;4531:14;4518:45;4604:1;4599:2;4594;4587:5;4583:14;4579:23;4572:34;4625:5;4615:15;;;;;3717:919;;;;;:::o;4641:349::-;4724:6;4777:2;4765:9;4756:7;4752:23;4748:32;4745:52;;;4793:1;4790;4783:12;4745:52;4833:9;4820:23;-1:-1:-1;;;;;4858:6:20;4855:30;4852:50;;;4898:1;4895;4888:12;4852:50;4921:63;4976:7;4967:6;4956:9;4952:22;4921:63;:::i;4995:170::-;-1:-1:-1;;;;;;5089:51:20;;5079:62;;5069:90;;5155:1;5152;5145:12;5170:916;5332:6;5340;5348;5356;5409:3;5397:9;5388:7;5384:23;5380:33;5377:53;;;5426:1;5423;5416:12;5377:53;5465:9;5452:23;5484:30;5508:5;5484:30;:::i;:::-;5533:5;-1:-1:-1;5589:2:20;5574:18;;5561:32;-1:-1:-1;;;;;5642:14:20;;;5639:34;;;5669:1;5666;5659:12;5639:34;5692:61;5745:7;5736:6;5725:9;5721:22;5692:61;:::i;:::-;5682:71;;5806:2;5795:9;5791:18;5778:32;5762:48;;5835:2;5825:8;5822:16;5819:36;;;5851:1;5848;5841:12;5819:36;;5874:63;5929:7;5918:8;5907:9;5903:24;5874:63;:::i;:::-;5864:73;;;5989:2;5978:9;5974:18;5961:32;6002:52;6046:7;6002:52;:::i;:::-;5170:916;;;;-1:-1:-1;5170:916:20;;-1:-1:-1;;5170:916:20:o;6091:320::-;6166:5;6195:52;6211:35;6239:6;6211:35;:::i;6195:52::-;6186:61;;6270:6;6263:5;6256:21;6310:3;6301:6;6296:3;6292:16;6289:25;6286:45;;;6327:1;6324;6317:12;6286:45;6340:65;6398:6;6391:4;6384:5;6380:16;6375:3;6340:65;:::i;6416:457::-;6495:6;6548:2;6536:9;6527:7;6523:23;6519:32;6516:52;;;6564:1;6561;6554:12;6516:52;6597:9;6591:16;-1:-1:-1;;;;;6622:6:20;6619:30;6616:50;;;6662:1;6659;6652:12;6616:50;6685:22;;6738:4;6730:13;;6726:27;-1:-1:-1;6716:55:20;;6767:1;6764;6757:12;6716:55;6790:77;6859:7;6854:2;6848:9;6843:2;6839;6835:11;6790:77;:::i;7083:461::-;7136:3;7174:5;7168:12;7201:6;7196:3;7189:19;7227:4;7256:2;7251:3;7247:12;7240:19;;7293:2;7286:5;7282:14;7314:1;7324:195;7338:6;7335:1;7332:13;7324:195;;;7403:13;;-1:-1:-1;;;;;7399:39:20;7387:52;;7459:12;;;;7494:15;;;;7435:1;7353:9;7324:195;;;-1:-1:-1;7535:3:20;;7083:461;-1:-1:-1;;;;;7083:461:20:o;7549:499::-;-1:-1:-1;;;;;7821:39:20;7813:6;7809:52;7798:9;7791:71;-1:-1:-1;;;;;7902:6:20;7898:31;7893:2;7882:9;7878:18;7871:59;7966:2;7961;7950:9;7946:18;7939:30;7772:4;7986:56;8038:2;8027:9;8023:18;8015:6;7986:56;:::i;:::-;7978:64;7549:499;-1:-1:-1;;;;;7549:499:20:o;8053:361::-;-1:-1:-1;;;;;8267:39:20;8259:6;8255:52;8244:9;8237:71;8344:2;8339;8328:9;8324:18;8317:30;8218:4;8364:44;8404:2;8393:9;8389:18;8381:6;8364:44;:::i;8419:809::-;8465:3;-1:-1:-1;;;;;8493:39:20;8571:2;8563:5;8557:12;8553:21;8548:3;8541:34;8636:2;8628:4;8621:5;8617:16;8611:23;8607:32;8600:4;8595:3;8591:14;8584:56;;-1:-1:-1;;;;;8693:4:20;8686:5;8682:16;8676:23;8672:48;8665:4;8660:3;8656:14;8649:72;8767:4;8760:5;8756:16;8750:23;8805:4;8798;8793:3;8789:14;8782:28;8831:58;8883:4;8878:3;8874:14;8860:12;8831:58;:::i;:::-;8819:70;;8937:4;8930:5;8926:16;8920:23;8985:3;8979:4;8975:14;8968:4;8963:3;8959:14;8952:38;9013:50;9058:4;9042:14;9013:50;:::i;:::-;8999:64;;;9111:4;9104:5;9100:16;9094:23;9161:3;9153:6;9149:16;9142:4;9137:3;9133:14;9126:40;9182;9215:6;9199:14;9182:40;:::i;9233:408::-;9452:2;9441:9;9434:21;9415:4;9478:49;9523:2;9512:9;9508:18;9500:6;9478:49;:::i;:::-;9575:9;9567:6;9563:22;9558:2;9547:9;9543:18;9536:50;9603:32;9628:6;9620;9603:32;:::i;9646:384::-;-1:-1:-1;;;;;;9831:33:20;;9819:46;;9888:13;;9801:3;;9910:74;9888:13;9973:1;9964:11;;9957:4;9945:17;;9910:74;:::i;:::-;10004:16;;;;10022:1;10000:24;;9646:384;-1:-1:-1;;;9646:384:20:o;10035:293::-;10121:6;10174:2;10162:9;10153:7;10149:23;10145:32;10142:52;;;10190:1;10187;10180:12;10142:52;10229:9;10216:23;10248:50;10292:5;10248:50;:::i;10333:245::-;10391:6;10444:2;10432:9;10423:7;10419:23;10415:32;10412:52;;;10460:1;10457;10450:12;10412:52;10499:9;10486:23;10518:30;10542:5;10518:30;:::i;10583:545::-;10676:4;10682:6;10742:11;10729:25;10836:2;10832:7;10821:8;10805:14;10801:29;10797:43;10777:18;10773:68;10763:96;;10855:1;10852;10845:12;10763:96;10882:33;;10934:20;;;-1:-1:-1;;;;;;10966:30:20;;10963:50;;;11009:1;11006;10999:12;10963:50;11042:4;11030:17;;-1:-1:-1;11093:1:20;11089:14;;;11073;11069:35;11059:46;;11056:66;;;11118:1;11115;11108:12;11056:66;10583:545;;;;;:::o;11133:944::-;11366:4;11414:2;11403:9;11399:18;-1:-1:-1;;;;;11456:39:20;11448:6;11444:52;11433:9;11426:71;11516:2;-1:-1:-1;;;;;11558:6:20;11554:31;11549:2;11538:9;11534:18;11527:59;11622:2;11617;11606:9;11602:18;11595:30;11645:6;11675;11667;11660:22;11713:3;11702:9;11698:19;11691:26;;11740:6;11726:20;;11764:1;11774:277;11788:6;11785:1;11782:13;11774:277;;;11863:6;11850:20;11883:31;11908:5;11883:31;:::i;:::-;-1:-1:-1;;;;;11939:31:20;11927:44;;12026:15;;;;11991:12;;;;11967:1;11803:9;11774:277;;;-1:-1:-1;12068:3:20;11133:944;-1:-1:-1;;;;;;;;11133:944:20:o;12281:127::-;12342:10;12337:3;12333:20;12330:1;12323:31;12373:4;12370:1;12363:15;12397:4;12394:1;12387:15;12413:705;12611:2;12663:21;;;12733:13;;12636:18;;;12755:22;;;12582:4;;12611:2;12834:15;;;;12808:2;12793:18;;;12582:4;12877:215;12891:6;12888:1;12885:13;12877:215;;;12956:13;;-1:-1:-1;;;;;;12952:59:20;12940:72;;13067:15;;;;13032:12;;;;12913:1;12906:9;12877:215;;;-1:-1:-1;13109:3:20;;12413:705;-1:-1:-1;;;;;;12413:705:20:o;13333:314::-;-1:-1:-1;;;;;13508:32:20;;13490:51;;13577:2;13572;13557:18;;13550:30;;;-1:-1:-1;;13597:44:20;;13622:18;;13614:6;13597:44;:::i;13652:287::-;13781:3;13819:6;13813:13;13835:66;13894:6;13889:3;13882:4;13874:6;13870:17;13835:66;:::i;:::-;13917:16;;;;;13652:287;-1:-1:-1;;13652:287:20:o;13944:136::-;14022:13;;14044:30;14022:13;14044:30;:::i;:::-;13944:136;;;:::o;14085:249::-;14154:6;14207:2;14195:9;14186:7;14182:23;14178:32;14175:52;;;14223:1;14220;14213:12;14175:52;14255:9;14249:16;14274:30;14298:5;14274:30;:::i;14339:723::-;-1:-1:-1;;;;;14674:6:20;14670:31;14659:9;14652:50;14738:3;14733:2;14722:9;14718:18;14711:31;14633:4;14765:57;14817:3;14806:9;14802:19;14794:6;14765:57;:::i;:::-;14870:9;14862:6;14858:22;14853:2;14842:9;14838:18;14831:50;14904:44;14941:6;14933;14904:44;:::i;:::-;14890:58;;14996:9;14988:6;14984:22;14979:2;14968:9;14964:18;14957:50;15024:32;15049:6;15041;15024:32;:::i;15067:176::-;15165:13;;15187:50;15165:13;15187:50;:::i;15248:734::-;15313:5;15366:3;15359:4;15351:6;15347:17;15343:27;15333:55;;15384:1;15381;15374:12;15333:55;15413:6;15407:13;15439:4;15463:60;15479:43;15519:2;15479:43;:::i;15463:60::-;15557:15;;;15643:1;15639:10;;;;15627:23;;15623:32;;;15588:12;;;;15667:15;;;15664:35;;;15695:1;15692;15685:12;15664:35;15731:2;15723:6;15719:15;15743:210;15759:6;15754:3;15751:15;15743:210;;;15832:3;15826:10;15849:31;15874:5;15849:31;:::i;:::-;15893:18;;15931:12;;;;15776;;15743:210;;15987:236;16041:5;16094:3;16087:4;16079:6;16075:17;16071:27;16061:55;;16112:1;16109;16102:12;16061:55;16134:83;16213:3;16204:6;16198:13;16191:4;16183:6;16179:17;16134:83;:::i;16228:1256::-;16320:6;16373:2;16361:9;16352:7;16348:23;16344:32;16341:52;;;16389:1;16386;16379:12;16341:52;16422:9;16416:16;-1:-1:-1;;;;;16492:2:20;16484:6;16481:14;16478:34;;;16508:1;16505;16498:12;16478:34;16531:22;;;;16587:4;16569:16;;;16565:27;16562:47;;;16605:1;16602;16595:12;16562:47;16631:22;;:::i;:::-;16676:52;16725:2;16676:52;:::i;:::-;16669:5;16662:67;16761:61;16818:2;16814;16810:11;16761:61;:::i;:::-;16756:2;16749:5;16745:14;16738:85;16855:41;16892:2;16888;16884:11;16855:41;:::i;:::-;16850:2;16843:5;16839:14;16832:65;16936:2;16932;16928:11;16922:18;16965:2;16955:8;16952:16;16949:36;;;16981:1;16978;16971:12;16949:36;17017:67;17076:7;17065:8;17061:2;17057:17;17017:67;:::i;:::-;17012:2;17005:5;17001:14;16994:91;;17124:3;17120:2;17116:12;17110:19;17154:2;17144:8;17141:16;17138:36;;;17170:1;17167;17160:12;17138:36;17207:67;17266:7;17255:8;17251:2;17247:17;17207:67;:::i;:::-;17201:3;17194:5;17190:15;17183:92;;17314:3;17310:2;17306:12;17300:19;17344:2;17334:8;17331:16;17328:36;;;17360:1;17357;17350:12;17328:36;17397:56;17445:7;17434:8;17430:2;17426:17;17397:56;:::i;:::-;17391:3;17380:15;;17373:81;-1:-1:-1;17384:5:20;16228:1256;-1:-1:-1;;;;;16228:1256:20:o;17489:523::-;-1:-1:-1;;;;;17751:39:20;17743:6;17739:52;17728:9;17721:71;17828:2;17823;17812:9;17808:18;17801:30;17702:4;17854:44;17894:2;17883:9;17879:18;17871:6;17854:44;:::i;:::-;17946:9;17938:6;17934:22;17929:2;17918:9;17914:18;17907:50;17974:32;17999:6;17991;17974:32;:::i;:::-;17966:40;17489:523;-1:-1:-1;;;;;;17489:523:20:o;18017:248::-;18190:2;18179:9;18172:21;18153:4;18210:49;18255:2;18244:9;18240:18;18232:6;18210:49;:::i", - "linkReferences": {} - }, - "methodIdentifiers": { - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "emitBidAndHint((bytes16,bytes16,uint64,address[],address[],string),bytes)": "89026c11", - "fetchBidConfidentialBundleData()": "92f07a58", - "newBid(uint64,address[],address[])": "236eb5a7", - "newMatch(uint64,address[],address[],bytes16)": "d8f55db9" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"HintEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"matchBidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"matchHint\",\"type\":\"bytes\"}],\"name\":\"MatchEvent\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"emitBidAndHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"},{\"internalType\":\"Suave.BidId\",\"name\":\"shareBidId\",\"type\":\"bytes16\"}],\"name\":\"newMatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"MevShareBidContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "bytes", - "name": "hint", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "HintEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "matchBidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "bytes", - "name": "matchHint", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "MatchEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "hint", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBidAndHint" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "bidAllowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bidAllowedStores", - "type": "address[]" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "newBid", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "bidAllowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bidAllowedStores", - "type": "address[]" - }, - { - "internalType": "Suave.BidId", - "name": "shareBidId", - "type": "bytes16" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "newMatch", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "MevShareBidContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] + "object": "0x60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5061154c806100206000396000f3fe60806040526004361061004a5760003560e01c8063236eb5a71461004f57806389026c111461007857806392f07a581461009a578063c0b9d287146100af578063d8f55db9146100cf575b600080fd5b61006261005d366004610cc8565b6100e2565b60405161006f9190610d8d565b60405180910390f35b34801561008457600080fd5b50610098610093366004610ddf565b61032a565b005b3480156100a657600080fd5b506100626103c4565b3480156100bb57600080fd5b506100986100ca366004610e80565b6103fd565b6100626100dd366004610eca565b610451565b60606100ec610687565b6100f557600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af1158015610137573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261015f9190810190610f82565b9050600061016c82610710565b90506000610179836107d5565b905060006101be8888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c65730000000081525061088f565b90506101fd8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b038816918101919091526102649392015b60405160208183030381529060405261098c565b6000805160206115208339815191528160000151826040015183606001516040516102919392919061100e565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916102cb918590611049565b60405180910390a16040516389026c1160e01b906102ef90839085906020016110e9565b60408051601f198184030181529082905261030d929160200161110e565b6040516020818303038152906040529450505050505b9392505050565b600080516020611520833981519152610346602084018461113f565b610356606085016040860161115c565b6103636060860186611179565b60405161037394939291906111c9565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda39506103a9602084018461113f565b826040516103b8929190611049565b60405180910390a15050565b60606103ce610687565b6103d757600080fd5b60006103e1610a3e565b9050808060200190518101906103f79190610f82565b91505090565b600080516020611520833981519152610419602083018361113f565b610429606084016040850161115c565b6104366060850185611179565b60405161044694939291906111c9565b60405180910390a150565b606061045b610687565b61046457600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af11580156104a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104ce9190810190610f82565b905060006104db82610710565b905060006104e8836107d5565b90506000610525898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b81525061088f565b90506105648160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b8152508661098c565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516000918101919091526105b3939201610250565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106105e8576105e861123e565b6001600160801b03199092166020928302919091019091015281518151829060019081106106185761061861123e565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b81850152905161066f9361025091869101611254565b6106798284610ad6565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146106cd576040519150601f19603f3d011682016040523d82523d6000602084013e6106d2565b606091505b509150915081610706576342010000816040516375fff46760e01b81526004016106fd9291906112a2565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b0316846040516020016107349190610d8d565b60408051601f198184030181529082905261074e916112c6565b600060405180830381855afa9150503d8060008114610789576040519150601f19603f3d011682016040523d82523d6000602084013e61078e565b606091505b5091509150816107b9576342100000816040516375fff46760e01b81526004016106fd9291906112a2565b808060200190518101906107cd91906112f2565b949350505050565b60606107df610687565b6107e857600080fd5b60008063421000376001600160a01b03168460405160200161080a9190610d8d565b60408051601f1981840301815290829052610824916112c6565b600060405180830381855afa9150503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b509150915081610323576342100037816040516375fff46760e01b81526004016106fd9291906112a2565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016108e8949392919061130f565b60408051601f1981840301815290829052610902916112c6565b600060405180830381855afa9150503d806000811461093d576040519150601f19603f3d011682016040523d82523d6000602084013e610942565b606091505b50915091508161096d576342030000816040516375fff46760e01b81526004016106fd9291906112a2565b8080602001905181019061098191906113e6565b979650505050505050565b60008063420200006001600160a01b03168585856040516020016109b2939291906114cd565b60408051601f19818403018152908290526109cc916112c6565b600060405180830381855afa9150503d8060008114610a07576040519150601f19603f3d011682016040523d82523d6000602084013e610a0c565b606091505b509150915081610a37576342020000816040516375fff46760e01b81526004016106fd9291906112a2565b5050505050565b604080516000808252602082019283905260609290918291634201000191610a65916112c6565b600060405180830381855afa9150503d8060008114610aa0576040519150601f19603f3d011682016040523d82523d6000602084013e610aa5565b606091505b509150915081610ad0576342010001816040516375fff46760e01b81526004016106fd9291906112a2565b92915050565b6060600080516020611520833981519152836000015184604001518560600151604051610b059392919061100e565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610b3f918590611049565b60405180910390a160405163c0b9d28760e01b90610b6190859060200161150c565b60408051601f1981840301815290829052610b7f929160200161110e565b604051602081830303815290604052905092915050565b6001600160401b0381168114610bab57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610be657610be6610bae565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610c1457610c14610bae565b604052919050565b60006001600160401b03821115610c3557610c35610bae565b5060051b60200190565b6001600160a01b0381168114610bab57600080fd5b600082601f830112610c6557600080fd5b81356020610c7a610c7583610c1c565b610bec565b82815260059290921b84018101918181019086841115610c9957600080fd5b8286015b84811015610cbd578035610cb081610c3f565b8352918301918301610c9d565b509695505050505050565b600080600060608486031215610cdd57600080fd5b8335610ce881610b96565b925060208401356001600160401b0380821115610d0457600080fd5b610d1087838801610c54565b93506040860135915080821115610d2657600080fd5b50610d3386828701610c54565b9150509250925092565b60005b83811015610d58578181015183820152602001610d40565b50506000910152565b60008151808452610d79816020860160208601610d3d565b601f01601f19169290920160200192915050565b6020815260006103236020830184610d61565b600060c08284031215610db257600080fd5b50919050565b60006001600160401b03821115610dd157610dd1610bae565b50601f01601f191660200190565b60008060408385031215610df257600080fd5b82356001600160401b0380821115610e0957600080fd5b610e1586838701610da0565b93506020850135915080821115610e2b57600080fd5b508301601f81018513610e3d57600080fd5b8035610e4b610c7582610db8565b818152866020838501011115610e6057600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610e9257600080fd5b81356001600160401b03811115610ea857600080fd5b6107cd84828501610da0565b6001600160801b031981168114610bab57600080fd5b60008060008060808587031215610ee057600080fd5b8435610eeb81610b96565b935060208501356001600160401b0380821115610f0757600080fd5b610f1388838901610c54565b94506040870135915080821115610f2957600080fd5b50610f3687828801610c54565b9250506060850135610f4781610eb4565b939692955090935050565b6000610f60610c7584610db8565b9050828152838383011115610f7457600080fd5b610323836020830184610d3d565b600060208284031215610f9457600080fd5b81516001600160401b03811115610faa57600080fd5b8201601f81018413610fbb57600080fd5b6107cd84825160208401610f52565b600081518084526020808501945080840160005b838110156110035781516001600160a01b031687529582019590820190600101610fde565b509495945050505050565b6001600160801b0319841681526001600160401b03831660208201526060604082015260006110406060830184610fca565b95945050505050565b6001600160801b0319831681526040602082015260006107cd6040830184610d61565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c060608501526110b660c0850182610fca565b9050608083015184820360808601526110cf8282610fca565b91505060a083015184820360a08601526110408282610d61565b6040815260006110fc604083018561106c565b82810360208401526110408185610d61565b6001600160e01b0319831681528151600090611131816004850160208701610d3d565b919091016004019392505050565b60006020828403121561115157600080fd5b813561032381610eb4565b60006020828403121561116e57600080fd5b813561032381610b96565b6000808335601e1984360301811261119057600080fd5b8301803591506001600160401b038211156111aa57600080fd5b6020019150600581901b36038213156111c257600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b8681101561123157833561121681610c3f565b6001600160a01b031682529282019290820190600101611203565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156112965783516001600160801b03191683529284019291840191600101611270565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906107cd90830184610d61565b600082516112d8818460208701610d3d565b9190910192915050565b80516112ed81610b96565b919050565b60006020828403121561130457600080fd5b815161032381610b96565b6001600160401b03851681526080602082015260006113316080830186610fca565b82810360408401526113438186610fca565b905082810360608401526109818185610d61565b80516112ed81610eb4565b600082601f83011261137357600080fd5b81516020611383610c7583610c1c565b82815260059290921b840181019181810190868411156113a257600080fd5b8286015b84811015610cbd5780516113b981610c3f565b83529183019183016113a6565b600082601f8301126113d757600080fd5b61032383835160208501610f52565b6000602082840312156113f857600080fd5b81516001600160401b038082111561140f57600080fd5b9083019060c0828603121561142357600080fd5b61142b610bc4565b61143483611357565b815261144260208401611357565b6020820152611453604084016112e2565b604082015260608301518281111561146a57600080fd5b61147687828601611362565b60608301525060808301518281111561148e57600080fd5b61149a87828601611362565b60808301525060a0830151828111156114b257600080fd5b6114be878286016113c6565b60a08301525095945050505050565b6001600160801b0319841681526060602082015260006114f06060830185610d61565b82810360408401526115028185610d61565b9695505050505050565b602081526000610323602083018461106c56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/bids.sol/MevShareBundleSenderContract.json b/suave/artifacts/bids.sol/MevShareBundleSenderContract.json index 1fda81bbe2..d6565d7ce2 100644 --- a/suave/artifacts/bids.sol/MevShareBundleSenderContract.json +++ b/suave/artifacts/bids.sol/MevShareBundleSenderContract.json @@ -281,19647 +281,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x60806040523480156200001157600080fd5b5060405162001d7a38038062001d7a833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61195a80620004206000396000f3fe6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", - "sourceMap": "4891:563:18:-:0;;;4986:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5032:26;;;;:11;;:26;;;;;:::i;:::-;;4986:76;4891:563;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;4891:563:18;;;-1:-1:-1;4891:563:18;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;14:127:20;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:20;247:40;;-1:-1:-1;;;;;302:34:20;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:20:o;426:1899::-;531:6;562:2;605;593:9;584:7;580:23;576:32;573:52;;;621:1;618;611:12;573:52;648:16;;-1:-1:-1;;;;;713:14:20;;;710:34;;;740:1;737;730:12;710:34;778:6;767:9;763:22;753:32;;804:4;844:7;839:2;835;831:11;827:25;817:53;;866:1;863;856:12;817:53;895:2;889:9;917:2;913;910:10;907:36;;;923:18;;:::i;:::-;969:2;966:1;962:10;992:28;1016:2;1012;1008:11;992:28;:::i;:::-;1054:15;;;1124:11;;;1120:20;;;1085:12;;;;1152:19;;;1149:39;;;1184:1;1181;1174:12;1149:39;1216:2;1212;1208:11;1197:22;;1228:1067;1244:6;1239:3;1236:15;1228:1067;;;1323:3;1317:10;1359:2;1346:11;1343:19;1340:109;;;1403:1;1432:2;1428;1421:14;1340:109;1472:20;;1527:2;1519:11;;1515:25;-1:-1:-1;1505:123:20;;1582:1;1611:2;1607;1600:14;1505:123;1666:2;1662;1658:11;1652:18;1694:2;1689:3;1686:11;1683:37;;;1700:18;;:::i;:::-;1746:52;1770:12;;;-1:-1:-1;;1766:26:20;1762:35;;1746:52;:::i;:::-;1825:3;1818:5;1811:18;1853:2;1898:7;1892:3;1886;1882:2;1878:12;1874:22;1871:35;1868:128;;;1948:1;1978:3;1973;1966:16;1868:128;2018:1;2032:142;2046:3;2043:1;2040:10;2032:142;;;2142:10;;;2138:20;;2132:27;2112:13;;;2108:22;;2101:59;2058:10;;2032:142;;;-1:-1:-1;;2220:1:20;2198:15;;;2194:24;;2187:35;;;;2235:18;;-1:-1:-1;1261:12:20;;;;2273;;;;1228:1067;;;2314:5;426:1899;-1:-1:-1;;;;;;;;;;426:1899:20:o;2330:380::-;2409:1;2405:12;;;;2452;;;2473:61;;2527:4;2519:6;2515:17;2505:27;;2473:61;2580:2;2572:6;2569:14;2549:18;2546:38;2543:161;;2626:10;2621:3;2617:20;2614:1;2607:31;2661:4;2658:1;2651:15;2689:4;2686:1;2679:15;2543:161;;2330:380;;;:::o;2841:545::-;2943:2;2938:3;2935:11;2932:448;;;2979:1;3004:5;3000:2;2993:17;3049:4;3045:2;3035:19;3119:2;3107:10;3103:19;3100:1;3096:27;3090:4;3086:38;3155:4;3143:10;3140:20;3137:47;;;-1:-1:-1;3178:4:20;3137:47;3233:2;3228:3;3224:12;3221:1;3217:20;3211:4;3207:31;3197:41;;3288:82;3306:2;3299:5;3296:13;3288:82;;;3351:17;;;3332:1;3321:13;3288:82;;;3292:3;;;2932:448;2841:545;;;:::o;3562:1352::-;3682:10;;-1:-1:-1;;;;;3704:30:20;;3701:56;;;3737:18;;:::i;:::-;3766:97;3856:6;3816:38;3848:4;3842:11;3816:38;:::i;:::-;3810:4;3766:97;:::i;:::-;3918:4;;3982:2;3971:14;;3999:1;3994:663;;;;4701:1;4718:6;4715:89;;;-1:-1:-1;4770:19:20;;;4764:26;4715:89;-1:-1:-1;;3519:1:20;3515:11;;;3511:24;3507:29;3497:40;3543:1;3539:11;;;3494:57;4817:81;;3964:944;;3994:663;2788:1;2781:14;;;2825:4;2812:18;;-1:-1:-1;;4030:20:20;;;4148:236;4162:7;4159:1;4156:14;4148:236;;;4251:19;;;4245:26;4230:42;;4343:27;;;;4311:1;4299:14;;;;4178:19;;4148:236;;;4152:3;4412:6;4403:7;4400:19;4397:201;;;4473:19;;;4467:26;-1:-1:-1;;4556:1:20;4552:14;;;4568:3;4548:24;4544:37;4540:42;4525:58;4510:74;;4397:201;-1:-1:-1;;;;;4644:1:20;4628:14;;;4624:22;4611:36;;-1:-1:-1;3562:1352:20:o;:::-;4891:563:18;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a", - "sourceMap": "4891:563:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4955:27;;;;;;;;;;-1:-1:-1;4955:27:18;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2191:1042;;;;;;:::i;:::-;;:::i;3236:180::-;;;;;;;;;;-1:-1:-1;3236:180:18;;;;;:::i;:::-;;:::i;:::-;;187:228;;;;;;;;;;;;;:::i;467:122::-;;;;;;;;;;-1:-1:-1;467:122:18;;;;;:::i;:::-;;:::i;3419:1174::-;;;;;;:::i;:::-;;:::i;4955:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2191:1042::-;2332:12;2395:22;:20;:22::i;:::-;2387:31;;;;;;2449:23;2475:4;-1:-1:-1;;;;;2475:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2475:37:18;;;;;;;;;;;;:::i;:::-;2449:63;;2536:10;2549:32;2570:10;2549:20;:32::i;:::-;2536:45;;2609:17;2629:29;2647:10;2629:17;:29::i;:::-;2609:49;;2705:20;2728:102;2741:19;2762:17;2781:16;2728:102;;;;;;;;;;;;;;;;;:12;:102::i;:::-;2705:125;;2834:74;2863:3;:6;;;2834:74;;;;;;;;;;;;;-1:-1:-1;;;2834:74:18;;;2897:10;2834:28;:74::i;:::-;2941:6;;2912:88;;;;;;;;;;;;;;;;;;;;2984:15;;-1:-1:-1;;;;;7837:31:20;;2984:15:18;;;7819:50:20;;;;2912:88:18;;2941:6;7792:18:20;2984:15:18;;;;;;;;;;;;;2912:28;:88::i;:::-;-1:-1:-1;;;;;;;;;;;3018:3:18;:6;;;3026:3;:23;;;3051:3;:18;;;3009:61;;;;;;;;:::i;:::-;;;;;;;;3089:6;;3079:23;;;;;;3097:4;;3079:23;:::i;:::-;;;;;;;;3207:21;;-1:-1:-1;;;3177:28:18;3207:21;;3218:3;;3223:4;;3207:21;;;:::i;:::-;;;;-1:-1:-1;;3207:21:18;;;;;;;;;;3164:65;;;3207:21;3164:65;;:::i;:::-;;;;;;;;;;;;;3157:72;;;;;;2191:1042;;;;;;:::o;3236:180::-;-1:-1:-1;;;;;;;;;;;3328:6:18;;;;:3;:6;:::i;:::-;3336:23;;;;;;;;:::i;:::-;3361:18;;;;:3;:18;:::i;:::-;3319:61;;;;;;;;;:::i;:::-;;;;;;;;3389:23;3399:6;;;;:3;:6;:::i;:::-;3407:4;3389:23;;;;;;;:::i;:::-;;;;;;;;3236:180;;:::o;187:228::-;245:12;271:22;:20;:22::i;:::-;263:31;;;;;;301;335:26;:24;:26::i;:::-;301:60;;383:18;372:39;;;;;;;;;;;;:::i;:::-;365:46;;;187:228;:::o;467:122::-;-1:-1:-1;;;;;;;;;;;533:6:18;;;;:3;:6;:::i;:::-;541:23;;;;;;;;:::i;:::-;566:18;;;;:3;:18;:::i;:::-;524:61;;;;;;;;;:::i;:::-;;;;;;;;467:122;:::o;3419:1174::-;3586:12;3741:22;:20;:22::i;:::-;3733:31;;;;;;3800:28;3831:4;-1:-1:-1;;;;;3831:35:18;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3831:37:18;;;;;;;;;;;;:::i;:::-;3800:68;;3910:10;3923:37;3944:15;3923:20;:37::i;:::-;3910:50;;3986:22;4011:34;4029:15;4011:17;:34::i;:::-;3986:59;;4052:20;4075:95;4088:19;4109:17;4128:16;4075:95;;;;;;;;;;;;;-1:-1:-1;;;4075:95:18;;;:12;:95::i;:::-;4052:118;;4174:79;4203:3;:6;;;4174:79;;;;;;;;;;;;;-1:-1:-1;;;4174:79:18;;;4237:15;4174:28;:79::i;:::-;4286:6;;4257:86;;;;;;;;;;;;;;;;;;;;4329:13;;4286:6;4329:13;;;13034:36:20;;;;4257:86:18;;4286:6;13007:18:20;4329:13:18;12882:194:20;4257:86:18;4394:20;;;4412:1;4394:20;;;;;;;;4366:25;;4394:20;;;;;;;;;;-1:-1:-1;4394:20:18;4366:48;;4428:10;4418:4;4423:1;4418:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;4418:20:18;;;:7;;;;;;;;;;;:20;4452:6;;4442:7;;:4;;4447:1;;4442:7;;;;;;:::i;:::-;-1:-1:-1;;;;;;4442:16:18;;;:7;;;;;;;;;;:16;4491:6;;4462:80;;;;;;;;;;;-1:-1:-1;;;4462:80:18;;;;4525:16;;4462:80;;4525:16;;4536:4;;4525:16;;:::i;4462:80::-;4554:35;4574:3;4579:9;4554:19;:35::i;:::-;4547:42;3419:1174;-1:-1:-1;;;;;;;;;;3419:1174:18:o;2085:519:14:-;2203:35;;2134:6;;;;;;767:42;;2134:6;2203:35;2134:6;2203:35;767:42;2203:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2152:86;;;;2253:7;2248:103;;767:42;2320:19;2283:57;;-1:-1:-1;;;2283:57:14;;;;;;;;;:::i;:::-;;;;;;;;2248:103;2582:4;2557:30;2551:37;;2085:519;-1:-1:-1;;2085:519:14:o;6280:319::-;6352:6;6371:12;6385:17;1780:42;-1:-1:-1;;;;;6406:26:14;6444:10;6433:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6433:22:14;;;;;;;;;;6406:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6370:86;;;;6471:7;6466:83;;1780:42;6533:4;6501:37;;-1:-1:-1;;;6501:37:14;;;;;;;;;:::i;6466:83::-;6577:4;6566:26;;;;;;;;;;;;:::i;:::-;6559:33;6280:319;-1:-1:-1;;;;6280:319:14:o;4349:329::-;4418:12;4450:16;:14;:16::i;:::-;4442:25;;;;;;4478:12;4492:17;1327:42;-1:-1:-1;;;;;4513:23:14;4548:10;4537:22;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4537:22:14;;;;;;;;;;4513:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4477:83;;;;4575:7;4570:80;;1327:42;4634:4;4605:34;;-1:-1:-1;;;4605:34:14;;;;;;;;;:::i;5360:486::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5576:12:14;5590:17;1593:42;-1:-1:-1;;;;;5623:18:14;5653:19;5674:14;5690:13;5705:7;5642:71;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5642:71:14;;;;;;;;;;5623:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5575:139;;;;5729:7;5724:75;;1593:42;5783:4;5759:29;;-1:-1:-1;;;5759:29:14;;;;;;;;;:::i;5724:75::-;5827:4;5816:23;;;;;;;;;;;;:::i;:::-;5809:30;5360:486;-1:-1:-1;;;;;;;5360:486:14:o;3690:318::-;3799:12;3813:17;1156:42;-1:-1:-1;;;;;3834:35:14;3881:5;3888:3;3893:5;3870:29;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3870:29:14;;;;;;;;;;3834:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3798:102;;;;3915:7;3910:92;;1156:42;3986:4;3945:46;;-1:-1:-1;;;3945:46:14;;;;;;;;;:::i;3910:92::-;3788:220;;3690:318;;;:::o;3051:282::-;3195:12;;;3129;3195;;;;;;;;;;3104;;3129;;;;953:42;;3164:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:80;;;;3223:7;3218:87;;953:42;3289:4;3253:41;;-1:-1:-1;;;3253:41:14;;;;;;;;;:::i;3218:87::-;3322:4;3051:282;-1:-1:-1;;3051:282:14:o;5065:387:18:-;5175:12;5193:23;5219:32;5244:3;:6;;;5219:24;:32::i;:::-;5193:58;;5260:6;5255:127;5276:11;:18;5272:22;;5255:127;;;5306:71;5332:11;5344:1;5332:14;;;;;;;;:::i;:::-;;;;;;;;5306:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5306:71:18;;;5366:10;5306:25;:71::i;:::-;-1:-1:-1;5296:3:18;;;;:::i;:::-;;;;5255:127;;;;5393:55;5433:3;5438:9;5393:39;:55::i;5017:337:14:-;5081:12;5113:16;:14;:16::i;:::-;5105:25;;;;;;5209:17;;;-1:-1:-1;;;;;;19249:52:20;;5209:17:14;;;19231:71:20;5141:12:14;;;;1510:42;;19204:18:20;5209:17:14;;;-1:-1:-1;;5209:17:14;;;;;;;;;;5176:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5140:87;;;;5242:7;5237:89;;1510:42;5310:4;5272:43;;-1:-1:-1;;;5272:43:14;;;;;;;;;:::i;6605:431::-;6743:12;6779:16;:14;:16::i;:::-;6771:25;;;;;;6807:12;6821:17;1878:42;-1:-1:-1;;;;;6842:33:14;6887:3;6892:6;6900;6876:31;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6876:31:14;;;;;;;;;;6842:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6806:102;;;;6923:7;6918:90;;1878:42;6992:4;6953:44;;-1:-1:-1;;;6953:44:14;;;;;;;;;:::i;6918:90::-;7025:4;6605:431;-1:-1:-1;;;;;6605:431:14:o;4596:291:18:-;4697:12;-1:-1:-1;;;;;;;;;;;4729:3:18;:6;;;4737:3;:23;;;4762:3;:18;;;4720:61;;;;;;;;:::i;:::-;;;;;;;;4801:6;;4790:29;;;;;;4809:9;;4790:29;:::i;:::-;;;;;;;;4867:15;;-1:-1:-1;;;4844:21:18;4867:15;;4878:3;;4867:15;;;:::i;:::-;;;;-1:-1:-1;;4867:15:18;;;;;;;;;;4831:52;;;4867:15;4831:52;;:::i;:::-;;;;;;;;;;;;;4824:59;;4596:291;;;;:::o;14:180:20:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:20;;14:180;-1:-1:-1;14:180:20:o;199:250::-;284:1;294:113;308:6;305:1;302:13;294:113;;;384:11;;;378:18;365:11;;;358:39;330:2;323:10;294:113;;;-1:-1:-1;;441:1:20;423:16;;416:27;199:250::o;454:271::-;496:3;534:5;528:12;561:6;556:3;549:19;577:76;646:6;639:4;634:3;630:14;623:4;616:5;612:16;577:76;:::i;:::-;707:2;686:15;-1:-1:-1;;682:29:20;673:39;;;;714:4;669:50;;454:271;-1:-1:-1;;454:271:20:o;730:220::-;879:2;868:9;861:21;842:4;899:45;940:2;929:9;925:18;917:6;899:45;:::i;955:129::-;-1:-1:-1;;;;;1033:5:20;1029:30;1022:5;1019:41;1009:69;;1074:1;1071;1064:12;1009:69;955:129;:::o;1089:127::-;1150:10;1145:3;1141:20;1138:1;1131:31;1181:4;1178:1;1171:15;1205:4;1202:1;1195:15;1221:253;1293:2;1287:9;1335:4;1323:17;;-1:-1:-1;;;;;1355:34:20;;1391:22;;;1352:62;1349:88;;;1417:18;;:::i;:::-;1453:2;1446:22;1221:253;:::o;1479:275::-;1550:2;1544:9;1615:2;1596:13;;-1:-1:-1;;1592:27:20;1580:40;;-1:-1:-1;;;;;1635:34:20;;1671:22;;;1632:62;1629:88;;;1697:18;;:::i;:::-;1733:2;1726:22;1479:275;;-1:-1:-1;1479:275:20:o;1759:183::-;1819:4;-1:-1:-1;;;;;1844:6:20;1841:30;1838:56;;;1874:18;;:::i;:::-;-1:-1:-1;1919:1:20;1915:14;1931:4;1911:25;;1759:183::o;1947:131::-;-1:-1:-1;;;;;2022:31:20;;2012:42;;2002:70;;2068:1;2065;2058:12;2083:737;2137:5;2190:3;2183:4;2175:6;2171:17;2167:27;2157:55;;2208:1;2205;2198:12;2157:55;2244:6;2231:20;2270:4;2294:60;2310:43;2350:2;2310:43;:::i;:::-;2294:60;:::i;:::-;2388:15;;;2474:1;2470:10;;;;2458:23;;2454:32;;;2419:12;;;;2498:15;;;2495:35;;;2526:1;2523;2516:12;2495:35;2562:2;2554:6;2550:15;2574:217;2590:6;2585:3;2582:15;2574:217;;;2670:3;2657:17;2687:31;2712:5;2687:31;:::i;:::-;2731:18;;2769:12;;;;2607;;2574:217;;;-1:-1:-1;2809:5:20;2083:737;-1:-1:-1;;;;;;2083:737:20:o;2825:728::-;2951:6;2959;2967;3020:2;3008:9;2999:7;2995:23;2991:32;2988:52;;;3036:1;3033;3026:12;2988:52;3075:9;3062:23;3094:30;3118:5;3094:30;:::i;:::-;3143:5;-1:-1:-1;3199:2:20;3184:18;;3171:32;-1:-1:-1;;;;;3252:14:20;;;3249:34;;;3279:1;3276;3269:12;3249:34;3302:61;3355:7;3346:6;3335:9;3331:22;3302:61;:::i;:::-;3292:71;;3416:2;3405:9;3401:18;3388:32;3372:48;;3445:2;3435:8;3432:16;3429:36;;;3461:1;3458;3451:12;3429:36;;3484:63;3539:7;3528:8;3517:9;3513:24;3484:63;:::i;:::-;3474:73;;;2825:728;;;;;:::o;3781:152::-;3837:5;3882:3;3873:6;3868:3;3864:16;3860:26;3857:46;;;3899:1;3896;3889:12;3857:46;-1:-1:-1;3921:6:20;3781:152;-1:-1:-1;3781:152:20:o;3938:186::-;3986:4;-1:-1:-1;;;;;4011:6:20;4008:30;4005:56;;;4041:18;;:::i;:::-;-1:-1:-1;4107:2:20;4086:15;-1:-1:-1;;4082:29:20;4113:4;4078:40;;3938:186::o;4129:919::-;4230:6;4238;4291:2;4279:9;4270:7;4266:23;4262:32;4259:52;;;4307:1;4304;4297:12;4259:52;4347:9;4334:23;-1:-1:-1;;;;;4417:2:20;4409:6;4406:14;4403:34;;;4433:1;4430;4423:12;4403:34;4456:63;4511:7;4502:6;4491:9;4487:22;4456:63;:::i;:::-;4446:73;;4572:2;4561:9;4557:18;4544:32;4528:48;;4601:2;4591:8;4588:16;4585:36;;;4617:1;4614;4607:12;4585:36;-1:-1:-1;4640:24:20;;4695:4;4687:13;;4683:27;-1:-1:-1;4673:55:20;;4724:1;4721;4714:12;4673:55;4760:2;4747:16;4785:48;4801:31;4829:2;4801:31;:::i;4785:48::-;4856:2;4849:5;4842:17;4896:7;4891:2;4886;4882;4878:11;4874:20;4871:33;4868:53;;;4917:1;4914;4907:12;4868:53;4972:2;4967;4963;4959:11;4954:2;4947:5;4943:14;4930:45;5016:1;5011:2;5006;4999:5;4995:14;4991:23;4984:34;5037:5;5027:15;;;;;4129:919;;;;;:::o;5053:349::-;5136:6;5189:2;5177:9;5168:7;5164:23;5160:32;5157:52;;;5205:1;5202;5195:12;5157:52;5245:9;5232:23;-1:-1:-1;;;;;5270:6:20;5267:30;5264:50;;;5310:1;5307;5300:12;5264:50;5333:63;5388:7;5379:6;5368:9;5364:22;5333:63;:::i;5407:170::-;-1:-1:-1;;;;;;5501:51:20;;5491:62;;5481:90;;5567:1;5564;5557:12;5582:916;5744:6;5752;5760;5768;5821:3;5809:9;5800:7;5796:23;5792:33;5789:53;;;5838:1;5835;5828:12;5789:53;5877:9;5864:23;5896:30;5920:5;5896:30;:::i;:::-;5945:5;-1:-1:-1;6001:2:20;5986:18;;5973:32;-1:-1:-1;;;;;6054:14:20;;;6051:34;;;6081:1;6078;6071:12;6051:34;6104:61;6157:7;6148:6;6137:9;6133:22;6104:61;:::i;:::-;6094:71;;6218:2;6207:9;6203:18;6190:32;6174:48;;6247:2;6237:8;6234:16;6231:36;;;6263:1;6260;6253:12;6231:36;;6286:63;6341:7;6330:8;6319:9;6315:24;6286:63;:::i;:::-;6276:73;;;6401:2;6390:9;6386:18;6373:32;6414:52;6458:7;6414:52;:::i;:::-;5582:916;;;;-1:-1:-1;5582:916:20;;-1:-1:-1;;5582:916:20:o;6503:380::-;6582:1;6578:12;;;;6625;;;6646:61;;6700:4;6692:6;6688:17;6678:27;;6646:61;6753:2;6745:6;6742:14;6722:18;6719:38;6716:161;;6799:10;6794:3;6790:20;6787:1;6780:31;6834:4;6831:1;6824:15;6862:4;6859:1;6852:15;6888:320;6963:5;6992:52;7008:35;7036:6;7008:35;:::i;6992:52::-;6983:61;;7067:6;7060:5;7053:21;7107:3;7098:6;7093:3;7089:16;7086:25;7083:45;;;7124:1;7121;7114:12;7083:45;7137:65;7195:6;7188:4;7181:5;7177:16;7172:3;7137:65;:::i;7213:457::-;7292:6;7345:2;7333:9;7324:7;7320:23;7316:32;7313:52;;;7361:1;7358;7351:12;7313:52;7394:9;7388:16;-1:-1:-1;;;;;7419:6:20;7416:30;7413:50;;;7459:1;7456;7449:12;7413:50;7482:22;;7535:4;7527:13;;7523:27;-1:-1:-1;7513:55:20;;7564:1;7561;7554:12;7513:55;7587:77;7656:7;7651:2;7645:9;7640:2;7636;7632:11;7587:77;:::i;7880:461::-;7933:3;7971:5;7965:12;7998:6;7993:3;7986:19;8024:4;8053:2;8048:3;8044:12;8037:19;;8090:2;8083:5;8079:14;8111:1;8121:195;8135:6;8132:1;8129:13;8121:195;;;8200:13;;-1:-1:-1;;;;;8196:39:20;8184:52;;8256:12;;;;8291:15;;;;8232:1;8150:9;8121:195;;;-1:-1:-1;8332:3:20;;7880:461;-1:-1:-1;;;;;7880:461:20:o;8346:499::-;-1:-1:-1;;;;;8618:39:20;8610:6;8606:52;8595:9;8588:71;-1:-1:-1;;;;;8699:6:20;8695:31;8690:2;8679:9;8675:18;8668:59;8763:2;8758;8747:9;8743:18;8736:30;8569:4;8783:56;8835:2;8824:9;8820:18;8812:6;8783:56;:::i;8850:362::-;-1:-1:-1;;;;;9064:39:20;9056:6;9052:52;9041:9;9034:71;9141:2;9136;9125:9;9121:18;9114:30;9015:4;9161:45;9202:2;9191:9;9187:18;9179:6;9161:45;:::i;9217:810::-;9263:3;-1:-1:-1;;;;;9291:39:20;9369:2;9361:5;9355:12;9351:21;9346:3;9339:34;9434:2;9426:4;9419:5;9415:16;9409:23;9405:32;9398:4;9393:3;9389:14;9382:56;;-1:-1:-1;;;;;9491:4:20;9484:5;9480:16;9474:23;9470:48;9463:4;9458:3;9454:14;9447:72;9565:4;9558:5;9554:16;9548:23;9603:4;9596;9591:3;9587:14;9580:28;9629:58;9681:4;9676:3;9672:14;9658:12;9629:58;:::i;:::-;9617:70;;9735:4;9728:5;9724:16;9718:23;9783:3;9777:4;9773:14;9766:4;9761:3;9757:14;9750:38;9811:50;9856:4;9840:14;9811:50;:::i;:::-;9797:64;;;9909:4;9902:5;9898:16;9892:23;9959:3;9951:6;9947:16;9940:4;9935:3;9931:14;9924:40;9980:41;10014:6;9998:14;9980:41;:::i;10032:409::-;10251:2;10240:9;10233:21;10214:4;10277:49;10322:2;10311:9;10307:18;10299:6;10277:49;:::i;:::-;10374:9;10366:6;10362:22;10357:2;10346:9;10342:18;10335:50;10402:33;10428:6;10420;10402:33;:::i;10446:384::-;-1:-1:-1;;;;;;10631:33:20;;10619:46;;10688:13;;10601:3;;10710:74;10688:13;10773:1;10764:11;;10757:4;10745:17;;10710:74;:::i;:::-;10804:16;;;;10822:1;10800:24;;10446:384;-1:-1:-1;;;10446:384:20:o;10835:293::-;10921:6;10974:2;10962:9;10953:7;10949:23;10945:32;10942:52;;;10990:1;10987;10980:12;10942:52;11029:9;11016:23;11048:50;11092:5;11048:50;:::i;11133:245::-;11191:6;11244:2;11232:9;11223:7;11219:23;11215:32;11212:52;;;11260:1;11257;11250:12;11212:52;11299:9;11286:23;11318:30;11342:5;11318:30;:::i;11383:545::-;11476:4;11482:6;11542:11;11529:25;11636:2;11632:7;11621:8;11605:14;11601:29;11597:43;11577:18;11573:68;11563:96;;11655:1;11652;11645:12;11563:96;11682:33;;11734:20;;;-1:-1:-1;;;;;;11766:30:20;;11763:50;;;11809:1;11806;11799:12;11763:50;11842:4;11830:17;;-1:-1:-1;11893:1:20;11889:14;;;11873;11869:35;11859:46;;11856:66;;;11918:1;11915;11908:12;11856:66;11383:545;;;;;:::o;11933:944::-;12166:4;12214:2;12203:9;12199:18;-1:-1:-1;;;;;12256:39:20;12248:6;12244:52;12233:9;12226:71;12316:2;-1:-1:-1;;;;;12358:6:20;12354:31;12349:2;12338:9;12334:18;12327:59;12422:2;12417;12406:9;12402:18;12395:30;12445:6;12475;12467;12460:22;12513:3;12502:9;12498:19;12491:26;;12540:6;12526:20;;12564:1;12574:277;12588:6;12585:1;12582:13;12574:277;;;12663:6;12650:20;12683:31;12708:5;12683:31;:::i;:::-;-1:-1:-1;;;;;12739:31:20;12727:44;;12826:15;;;;12791:12;;;;12767:1;12603:9;12574:277;;;-1:-1:-1;12868:3:20;11933:944;-1:-1:-1;;;;;;;;11933:944:20:o;13081:127::-;13142:10;13137:3;13133:20;13130:1;13123:31;13173:4;13170:1;13163:15;13197:4;13194:1;13187:15;13213:705;13411:2;13463:21;;;13533:13;;13436:18;;;13555:22;;;13382:4;;13411:2;13634:15;;;;13608:2;13593:18;;;13382:4;13677:215;13691:6;13688:1;13685:13;13677:215;;;13756:13;;-1:-1:-1;;;;;;13752:59:20;13740:72;;13867:15;;;;13832:12;;;;13713:1;13706:9;13677:215;;;-1:-1:-1;13909:3:20;;13213:705;-1:-1:-1;;;;;;13213:705:20:o;14133:315::-;-1:-1:-1;;;;;14308:32:20;;14290:51;;14377:2;14372;14357:18;;14350:30;;;-1:-1:-1;;14397:45:20;;14423:18;;14415:6;14397:45;:::i;14453:287::-;14582:3;14620:6;14614:13;14636:66;14695:6;14690:3;14683:4;14675:6;14671:17;14636:66;:::i;:::-;14718:16;;;;;14453:287;-1:-1:-1;;14453:287:20:o;14745:136::-;14823:13;;14845:30;14823:13;14845:30;:::i;:::-;14745:136;;;:::o;14886:249::-;14955:6;15008:2;14996:9;14987:7;14983:23;14979:32;14976:52;;;15024:1;15021;15014:12;14976:52;15056:9;15050:16;15075:30;15099:5;15075:30;:::i;15140:724::-;-1:-1:-1;;;;;15475:6:20;15471:31;15460:9;15453:50;15539:3;15534:2;15523:9;15519:18;15512:31;15434:4;15566:57;15618:3;15607:9;15603:19;15595:6;15566:57;:::i;:::-;15671:9;15663:6;15659:22;15654:2;15643:9;15639:18;15632:50;15705:44;15742:6;15734;15705:44;:::i;:::-;15691:58;;15797:9;15789:6;15785:22;15780:2;15769:9;15765:18;15758:50;15825:33;15851:6;15843;15825:33;:::i;15869:176::-;15967:13;;15989:50;15967:13;15989:50;:::i;16050:734::-;16115:5;16168:3;16161:4;16153:6;16149:17;16145:27;16135:55;;16186:1;16183;16176:12;16135:55;16215:6;16209:13;16241:4;16265:60;16281:43;16321:2;16281:43;:::i;16265:60::-;16359:15;;;16445:1;16441:10;;;;16429:23;;16425:32;;;16390:12;;;;16469:15;;;16466:35;;;16497:1;16494;16487:12;16466:35;16533:2;16525:6;16521:15;16545:210;16561:6;16556:3;16553:15;16545:210;;;16634:3;16628:10;16651:31;16676:5;16651:31;:::i;:::-;16695:18;;16733:12;;;;16578;;16545:210;;16789:236;16843:5;16896:3;16889:4;16881:6;16877:17;16873:27;16863:55;;16914:1;16911;16904:12;16863:55;16936:83;17015:3;17006:6;17000:13;16993:4;16985:6;16981:17;16936:83;:::i;17030:1256::-;17122:6;17175:2;17163:9;17154:7;17150:23;17146:32;17143:52;;;17191:1;17188;17181:12;17143:52;17224:9;17218:16;-1:-1:-1;;;;;17294:2:20;17286:6;17283:14;17280:34;;;17310:1;17307;17300:12;17280:34;17333:22;;;;17389:4;17371:16;;;17367:27;17364:47;;;17407:1;17404;17397:12;17364:47;17433:22;;:::i;:::-;17478:52;17527:2;17478:52;:::i;:::-;17471:5;17464:67;17563:61;17620:2;17616;17612:11;17563:61;:::i;:::-;17558:2;17551:5;17547:14;17540:85;17657:41;17694:2;17690;17686:11;17657:41;:::i;:::-;17652:2;17645:5;17641:14;17634:65;17738:2;17734;17730:11;17724:18;17767:2;17757:8;17754:16;17751:36;;;17783:1;17780;17773:12;17751:36;17819:67;17878:7;17867:8;17863:2;17859:17;17819:67;:::i;:::-;17814:2;17807:5;17803:14;17796:91;;17926:3;17922:2;17918:12;17912:19;17956:2;17946:8;17943:16;17940:36;;;17972:1;17969;17962:12;17940:36;18009:67;18068:7;18057:8;18053:2;18049:17;18009:67;:::i;:::-;18003:3;17996:5;17992:15;17985:92;;18116:3;18112:2;18108:12;18102:19;18146:2;18136:8;18133:16;18130:36;;;18162:1;18159;18152:12;18130:36;18199:56;18247:7;18236:8;18232:2;18228:17;18199:56;:::i;:::-;18193:3;18182:15;;18175:81;-1:-1:-1;18186:5:20;17030:1256;-1:-1:-1;;;;;17030:1256:20:o;18291:525::-;-1:-1:-1;;;;;18553:39:20;18545:6;18541:52;18530:9;18523:71;18630:2;18625;18614:9;18610:18;18603:30;18504:4;18656:45;18697:2;18686:9;18682:18;18674:6;18656:45;:::i;:::-;18749:9;18741:6;18737:22;18732:2;18721:9;18717:18;18710:50;18777:33;18803:6;18795;18777:33;:::i;:::-;18769:41;18291:525;-1:-1:-1;;;;;;18291:525:20:o;18821:232::-;18860:3;18881:17;;;18878:140;;18940:10;18935:3;18931:20;18928:1;18921:31;18975:4;18972:1;18965:15;19003:4;19000:1;18993:15;18878:140;-1:-1:-1;19045:1:20;19034:13;;18821:232::o;19313:544::-;19556:2;19545:9;19538:21;19519:4;19582:45;19623:2;19612:9;19608:18;19600:6;19582:45;:::i;:::-;19675:9;19667:6;19663:22;19658:2;19647:9;19643:18;19636:50;19709:33;19735:6;19727;19709:33;:::i;:::-;19695:47;;19790:9;19782:6;19778:22;19773:2;19762:9;19758:18;19751:50;19818:33;19844:6;19836;19818:33;:::i;19862:248::-;20035:2;20024:9;20017:21;19998:4;20055:49;20100:2;20089:9;20085:18;20077:6;20055:49;:::i", - "linkReferences": {} - }, - "methodIdentifiers": { - "builderUrls(uint256)": "1141a0b0", - "emitBid((bytes16,bytes16,uint64,address[],address[],string))": "c0b9d287", - "emitBidAndHint((bytes16,bytes16,uint64,address[],address[],string),bytes)": "89026c11", - "fetchBidConfidentialBundleData()": "92f07a58", - "newBid(uint64,address[],address[])": "236eb5a7", - "newMatch(uint64,address[],address[],bytes16)": "d8f55db9" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"builderUrls_\",\"type\":\"string[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"}],\"name\":\"BidEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"bidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"HintEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"Suave.BidId\",\"name\":\"matchBidId\",\"type\":\"bytes16\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"matchHint\",\"type\":\"bytes\"}],\"name\":\"MatchEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"builderUrls\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"}],\"name\":\"emitBid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Suave.BidId\",\"name\":\"id\",\"type\":\"bytes16\"},{\"internalType\":\"Suave.BidId\",\"name\":\"salt\",\"type\":\"bytes16\"},{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"allowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"allowedStores\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"struct Suave.Bid\",\"name\":\"bid\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hint\",\"type\":\"bytes\"}],\"name\":\"emitBidAndHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fetchBidConfidentialBundleData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"}],\"name\":\"newBid\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"decryptionCondition\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedPeekers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bidAllowedStores\",\"type\":\"address[]\"},{\"internalType\":\"Suave.BidId\",\"name\":\"shareBidId\",\"type\":\"bytes16\"}],\"name\":\"newMatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/bids.sol\":\"MevShareBundleSenderContract\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/bids.sol\":{\"keccak256\":\"0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50\",\"urls\":[\"bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc\",\"dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "string[]", - "name": "builderUrls_", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64", - "indexed": false - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]", - "indexed": false - } - ], - "type": "event", - "name": "BidEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "bidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "bytes", - "name": "hint", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "HintEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "Suave.BidId", - "name": "matchBidId", - "type": "bytes16", - "indexed": false - }, - { - "internalType": "bytes", - "name": "matchHint", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "MatchEvent", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "builderUrls", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBid" - }, - { - "inputs": [ - { - "internalType": "struct Suave.Bid", - "name": "bid", - "type": "tuple", - "components": [ - { - "internalType": "Suave.BidId", - "name": "id", - "type": "bytes16" - }, - { - "internalType": "Suave.BidId", - "name": "salt", - "type": "bytes16" - }, - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "allowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "allowedStores", - "type": "address[]" - }, - { - "internalType": "string", - "name": "version", - "type": "string" - } - ] - }, - { - "internalType": "bytes", - "name": "hint", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "emitBidAndHint" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "fetchBidConfidentialBundleData", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "bidAllowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bidAllowedStores", - "type": "address[]" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "newBid", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint64", - "name": "decryptionCondition", - "type": "uint64" - }, - { - "internalType": "address[]", - "name": "bidAllowedPeekers", - "type": "address[]" - }, - { - "internalType": "address[]", - "name": "bidAllowedStores", - "type": "address[]" - }, - { - "internalType": "Suave.BidId", - "name": "shareBidId", - "type": "bytes16" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "newMatch", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/bids.sol": "MevShareBundleSenderContract" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/bids.sol": { - "keccak256": "0xbab84bf129a4a440e11b51d569e08138678b41cf7c389adf0ff5cd6e8fd8ca50", - "urls": [ - "bzz-raw://a2406e6b6ab966028a5d89cb8fe8994e5406325cc61c7d6c8dfe7f3d002997fc", - "dweb:/ipfs/QmWsnDiLnAp4PWMGB7pSQzDRZPu8RH8gUF22NpKnLbqoWn" - ], - "license": null - } - }, - "version": 1 + "object": "0x6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" }, - "ast": { - "absolutePath": "sol/standard_peekers/bids.sol", - "id": 42152, - "exportedSymbols": { - "AnyBidContract": [ - 40712 - ], - "BundleBidContract": [ - 40819 - ], - "EgpBidPair": [ - 41250 - ], - "EthBlockBidContract": [ - 42069 - ], - "EthBlockBidSenderContract": [ - 42151 - ], - "EthBundleSenderContract": [ - 40877 - ], - "MevShareBidContract": [ - 41178 - ], - "MevShareBundleSenderContract": [ - 41244 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:11882:18", - "nodes": [ - { - "id": 40658, - "nodeType": "PragmaDirective", - "src": "0:23:18", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 40659, - "nodeType": "ImportDirective", - "src": "25:32:18", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42152, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40712, - "nodeType": "ContractDefinition", - "src": "59:532:18", - "nodes": [ - { - "id": 40669, - "nodeType": "EventDefinition", - "src": "87:97:18", - "nodes": [], - "anonymous": false, - "eventSelector": "83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504e", - "name": "BidEvent", - "nameLocation": "93:8:18", - "parameters": { - "id": 40668, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40662, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "117:5:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "105:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40661, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40660, - "name": "Suave.BidId", - "nameLocations": [ - "105:5:18", - "111:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "105:11:18" - }, - "referencedDeclaration": 39311, - "src": "105:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40664, - "indexed": false, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "133:19:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "126:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40663, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "126:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40667, - "indexed": false, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "166:14:18", - "nodeType": "VariableDeclaration", - "scope": 40669, - "src": "156:24:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40665, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "156:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40666, - "nodeType": "ArrayTypeName", - "src": "156:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "101:82:18" - } - }, - { - "id": 40695, - "nodeType": "FunctionDefinition", - "src": "187:228:18", - "nodes": [], - "body": { - "id": 40694, - "nodeType": "Block", - "src": "259:156:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40675, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "271:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40676, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "277:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "271:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40677, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "271:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40674, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "263:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40678, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "263:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40679, - "nodeType": "ExpressionStatement", - "src": "263:31:18" - }, - { - "assignments": [ - 40681 - ], - "declarations": [ - { - "constant": false, - "id": 40681, - "mutability": "mutable", - "name": "confidentialInputs", - "nameLocation": "314:18:18", - "nodeType": "VariableDeclaration", - "scope": 40694, - "src": "301:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40680, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "301:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40685, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40682, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "335:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "341:18:18", - "memberName": "confidentialInputs", - "nodeType": "MemberAccess", - "referencedDeclaration": 39500, - "src": "335:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () view returns (bytes memory)" - } - }, - "id": 40684, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "335:26:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "301:60:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40688, - "name": "confidentialInputs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40681, - "src": "383:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 40690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "404:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40689, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "404:5:18", - "typeDescriptions": {} - } - } - ], - "id": 40691, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "403:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - } - ], - "expression": { - "id": 40686, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "372:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "376:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "372:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 40692, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "372:39:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40673, - "id": 40693, - "nodeType": "Return", - "src": "365:46:18" - } - ] - }, - "functionSelector": "92f07a58", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "fetchBidConfidentialBundleData", - "nameLocation": "196:30:18", - "parameters": { - "id": 40670, - "nodeType": "ParameterList", - "parameters": [], - "src": "226:2:18" - }, - "returnParameters": { - "id": 40673, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40672, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40695, - "src": "245:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40671, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "245:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "244:14:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40711, - "nodeType": "FunctionDefinition", - "src": "467:122:18", - "nodes": [], - "body": { - "id": 40710, - "nodeType": "Block", - "src": "515:74:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40702, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "533:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40703, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "537:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "533:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40704, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "541:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40705, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "545:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "541:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40706, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40698, - "src": "566:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 40707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "570:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "566:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 40701, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "524:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "524:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40709, - "nodeType": "EmitStatement", - "src": "519:66:18" - } - ] - }, - "functionSelector": "c0b9d287", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBid", - "nameLocation": "476:7:18", - "parameters": { - "id": 40699, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40698, - "mutability": "mutable", - "name": "bid", - "nameLocation": "503:3:18", - "nodeType": "VariableDeclaration", - "scope": 40711, - "src": "484:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40697, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40696, - "name": "Suave.Bid", - "nameLocations": [ - "484:5:18", - "490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "484:9:18" - }, - "referencedDeclaration": 39328, - "src": "484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "src": "483:24:18" - }, - "returnParameters": { - "id": 40700, - "nodeType": "ParameterList", - "parameters": [], - "src": "515:0:18" - }, - "scope": 40712, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "AnyBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40712 - ], - "name": "AnyBidContract", - "nameLocation": "68:14:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40819, - "nodeType": "ContractDefinition", - "src": "593:936:18", - "nodes": [ - { - "id": 40786, - "nodeType": "FunctionDefinition", - "src": "642:646:18", - "nodes": [], - "body": { - "id": 40785, - "nodeType": "Block", - "src": "797:491:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40728, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "809:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "815:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "809:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "809:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40727, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "801:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "801:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40732, - "nodeType": "ExpressionStatement", - "src": "801:31:18" - }, - { - "assignments": [ - 40734 - ], - "declarations": [ - { - "constant": false, - "id": 40734, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "850:10:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "837:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40733, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "837:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40738, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40735, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "863:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "868:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "863:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "863:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "837:63:18" - }, - { - "assignments": [ - 40740 - ], - "declarations": [ - { - "constant": false, - "id": 40740, - "mutability": "mutable", - "name": "egp", - "nameLocation": "912:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "905:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40739, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "905:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40745, - "initialValue": { - "arguments": [ - { - "id": 40743, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "939:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40741, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "918:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "924:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "918:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40744, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "918:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "905:45:18" - }, - { - "assignments": [ - 40750 - ], - "declarations": [ - { - "constant": false, - "id": 40750, - "mutability": "mutable", - "name": "bid", - "nameLocation": "972:3:18", - "nodeType": "VariableDeclaration", - "scope": 40785, - "src": "955:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40749, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40748, - "name": "Suave.Bid", - "nameLocations": [ - "955:5:18", - "961:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "955:9:18" - }, - "referencedDeclaration": 39328, - "src": "955:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40758, - "initialValue": { - "arguments": [ - { - "id": 40753, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40716, - "src": "991:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40754, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40719, - "src": "1012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40755, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40722, - "src": "1031:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1049:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40751, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "978:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40752, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "984:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "978:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "978:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "955:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40762, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1107:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40763, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1111:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1107:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40764, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1115:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - }, - { - "id": 40765, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1140:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40759, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1078:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1084:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1078:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40766, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1078:73:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40767, - "nodeType": "ExpressionStatement", - "src": "1078:73:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40771, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1184:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1188:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1184:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 40773, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1192:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40776, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40740, - "src": "1237:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40774, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1226:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40775, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1230:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1226:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1226:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40768, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1155:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1161:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "1155:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1155:87:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40779, - "nodeType": "ExpressionStatement", - "src": "1155:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40781, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40750, - "src": "1268:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40782, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40734, - "src": "1273:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40780, - "name": "emitAndReturn", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40818, - "src": "1254:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1254:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40726, - "id": 40784, - "nodeType": "Return", - "src": "1247:37:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "651:6:18", - "parameters": { - "id": 40723, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40716, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "665:19:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "658:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40715, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "658:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40719, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "703:17:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "686:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40717, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "686:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40718, - "nodeType": "ArrayTypeName", - "src": "686:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40722, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "739:16:18", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "722:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40721, - "nodeType": "ArrayTypeName", - "src": "722:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "657:99:18" - }, - "returnParameters": { - "id": 40726, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40725, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40786, - "src": "783:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40724, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "783:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "782:14:18" - }, - "scope": 40819, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 40818, - "nodeType": "FunctionDefinition", - "src": "1291:236:18", - "nodes": [], - "body": { - "id": 40817, - "nodeType": "Block", - "src": "1390:137:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40797, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1408:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40798, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1412:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "1408:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40799, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1416:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40800, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1420:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "1416:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40801, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1441:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40802, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1445:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "1441:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40796, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "1399:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1399:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40804, - "nodeType": "EmitStatement", - "src": "1394:66:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40808, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "1484:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_BundleBidContract_$40819", - "typeString": "contract BundleBidContract" - } - }, - "id": 40809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1489:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "1484:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 40810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1497:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "1484:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40813, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40789, - "src": "1518:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 40811, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "1507:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40812, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "1511:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "1507:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1507:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40806, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1471:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40805, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1471:5:18", - "typeDescriptions": {} - } - }, - "id": 40807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1477:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "1471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40815, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1471:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40795, - "id": 40816, - "nodeType": "Return", - "src": "1464:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1300:13:18", - "parameters": { - "id": 40792, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40789, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1331:3:18", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1314:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40788, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40787, - "name": "Suave.Bid", - "nameLocations": [ - "1314:5:18", - "1320:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1314:9:18" - }, - "referencedDeclaration": 39328, - "src": "1314:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40791, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1336:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40790, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1336:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1313:36:18" - }, - "returnParameters": { - "id": 40795, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40794, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40818, - "src": "1376:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40793, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1376:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1375:14:18" - }, - "scope": 40819, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40713, - "name": "AnyBidContract", - "nameLocations": [ - "623:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "623:14:18" - }, - "id": 40714, - "nodeType": "InheritanceSpecifier", - "src": "623:14:18" - } - ], - "canonicalName": "BundleBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40819, - 40712 - ], - "name": "BundleBidContract", - "nameLocation": "602:17:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 40877, - "nodeType": "ContractDefinition", - "src": "1531:482:18", - "nodes": [ - { - "id": 40824, - "nodeType": "VariableDeclaration", - "src": "1588:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "1604:11:18", - "scope": 40877, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40822, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1588:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40823, - "nodeType": "ArrayTypeName", - "src": "1588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 40835, - "nodeType": "FunctionDefinition", - "src": "1619:76:18", - "nodes": [], - "body": { - "id": 40834, - "nodeType": "Block", - "src": "1661:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 40832, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 40830, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1665:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 40831, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40827, - "src": "1679:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "1665:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40833, - "nodeType": "ExpressionStatement", - "src": "1665:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 40828, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40827, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "1647:12:18", - "nodeType": "VariableDeclaration", - "scope": 40835, - "src": "1631:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 40825, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1631:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 40826, - "nodeType": "ArrayTypeName", - "src": "1631:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "1630:30:18" - }, - "returnParameters": { - "id": 40829, - "nodeType": "ParameterList", - "parameters": [], - "src": "1661:0:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 40876, - "nodeType": "FunctionDefinition", - "src": "1698:313:18", - "nodes": [], - "body": { - "id": 40875, - "nodeType": "Block", - "src": "1817:194:18", - "nodes": [], - "statements": [ - { - "body": { - "id": 40867, - "nodeType": "Block", - "src": "1867:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 40860, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1898:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40862, - "indexExpression": { - "id": 40861, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1910:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1898:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6574685f73656e6442756e646c65", - "id": 40863, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1914:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - "value": "eth_sendBundle" - }, - { - "id": 40864, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1932:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_93738748d121ab7f249ae64780fbcca97afa19e750814215d40e78a4636057ab", - "typeString": "literal_string \"eth_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40857, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "1872:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40859, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1878:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "1872:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 40865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1872:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 40866, - "nodeType": "ExpressionStatement", - "src": "1872:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 40853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 40850, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1838:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 40851, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40824, - "src": "1842:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 40852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1854:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "1842:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1838:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 40868, - "initializationExpression": { - "assignments": [ - 40847 - ], - "declarations": [ - { - "constant": false, - "id": 40847, - "mutability": "mutable", - "name": "i", - "nameLocation": "1831:1:18", - "nodeType": "VariableDeclaration", - "scope": 40868, - "src": "1826:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 40846, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1826:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 40849, - "initialValue": { - "hexValue": "30", - "id": 40848, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1835:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "1826:10:18" - }, - "loopExpression": { - "expression": { - "id": 40855, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1862:3:18", - "subExpression": { - "id": 40854, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40847, - "src": "1862:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 40856, - "nodeType": "ExpressionStatement", - "src": "1862:3:18" - }, - "nodeType": "ForStatement", - "src": "1821:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 40871, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40838, - "src": "1991:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40872, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40840, - "src": "1996:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40869, - "name": "BundleBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40819, - "src": "1959:17:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_BundleBidContract_$40819_$", - "typeString": "type(contract BundleBidContract)" - } - }, - "id": 40870, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "1977:13:18", - "memberName": "emitAndReturn", - "nodeType": "MemberAccess", - "referencedDeclaration": 40818, - "src": "1959:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 40873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "1959:48:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40845, - "id": 40874, - "nodeType": "Return", - "src": "1952:55:18" - } - ] - }, - "baseFunctions": [ - 40818 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitAndReturn", - "nameLocation": "1707:13:18", - "overrides": { - "id": 40842, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "1785:8:18" - }, - "parameters": { - "id": 40841, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40838, - "mutability": "mutable", - "name": "bid", - "nameLocation": "1738:3:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1721:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40837, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40836, - "name": "Suave.Bid", - "nameLocations": [ - "1721:5:18", - "1727:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "1721:9:18" - }, - "referencedDeclaration": 39328, - "src": "1721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40840, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "1756:10:18", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1743:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40839, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1743:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1720:47:18" - }, - "returnParameters": { - "id": 40845, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40844, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40876, - "src": "1803:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40843, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1803:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "1802:14:18" - }, - "scope": 40877, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40820, - "name": "BundleBidContract", - "nameLocations": [ - "1567:17:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40819, - "src": "1567:17:18" - }, - "id": 40821, - "nodeType": "InheritanceSpecifier", - "src": "1567:17:18" - } - ], - "canonicalName": "EthBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40877, - 40819, - 40712 - ], - "name": "EthBundleSenderContract", - "nameLocation": "1540:23:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41178, - "nodeType": "ContractDefinition", - "src": "2015:2874:18", - "nodes": [ - { - "id": 40886, - "nodeType": "EventDefinition", - "src": "2066:54:18", - "nodes": [], - "anonymous": false, - "eventSelector": "dab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950", - "name": "HintEvent", - "nameLocation": "2072:9:18", - "parameters": { - "id": 40885, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40882, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "2097:5:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2085:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40881, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40880, - "name": "Suave.BidId", - "nameLocations": [ - "2085:5:18", - "2091:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2085:11:18" - }, - "referencedDeclaration": 39311, - "src": "2085:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40884, - "indexed": false, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2112:4:18", - "nodeType": "VariableDeclaration", - "scope": 40886, - "src": "2106:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40883, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2106:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2081:38:18" - } - }, - { - "id": 40893, - "nodeType": "EventDefinition", - "src": "2123:65:18", - "nodes": [], - "anonymous": false, - "eventSelector": "afa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc2", - "name": "MatchEvent", - "nameLocation": "2129:10:18", - "parameters": { - "id": 40892, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40889, - "indexed": false, - "mutability": "mutable", - "name": "matchBidId", - "nameLocation": "2155:10:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2143:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 40888, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40887, - "name": "Suave.BidId", - "nameLocations": [ - "2143:5:18", - "2149:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "2143:11:18" - }, - "referencedDeclaration": 39311, - "src": "2143:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40891, - "indexed": false, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "2175:9:18", - "nodeType": "VariableDeclaration", - "scope": 40893, - "src": "2169:15:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40890, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2169:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2139:48:18" - } - }, - { - "id": 40995, - "nodeType": "FunctionDefinition", - "src": "2191:1042:18", - "nodes": [], - "body": { - "id": 40994, - "nodeType": "Block", - "src": "2346:887:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40907, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2395:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2401:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "2395:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 40909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2395:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40906, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "2387:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 40910, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2387:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40911, - "nodeType": "ExpressionStatement", - "src": "2387:31:18" - }, - { - "assignments": [ - 40913 - ], - "declarations": [ - { - "constant": false, - "id": 40913, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "2462:10:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2449:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40912, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2449:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40917, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 40914, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "2475:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40915, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2480:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "2475:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 40916, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2475:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2449:63:18" - }, - { - "assignments": [ - 40919 - ], - "declarations": [ - { - "constant": false, - "id": 40919, - "mutability": "mutable", - "name": "egp", - "nameLocation": "2543:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2536:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40918, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2536:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 40924, - "initialValue": { - "arguments": [ - { - "id": 40922, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2570:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40920, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2549:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2555:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "2549:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 40923, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2549:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2536:45:18" - }, - { - "assignments": [ - 40926 - ], - "declarations": [ - { - "constant": false, - "id": 40926, - "mutability": "mutable", - "name": "hint", - "nameLocation": "2622:4:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2609:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40925, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2609:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40931, - "initialValue": { - "arguments": [ - { - "id": 40929, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2647:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40927, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2629:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40928, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2635:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "2629:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 40930, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2629:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2609:49:18" - }, - { - "assignments": [ - 40936 - ], - "declarations": [ - { - "constant": false, - "id": 40936, - "mutability": "mutable", - "name": "bid", - "nameLocation": "2722:3:18", - "nodeType": "VariableDeclaration", - "scope": 40994, - "src": "2705:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40935, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40934, - "name": "Suave.Bid", - "nameLocations": [ - "2705:5:18", - "2711:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "2705:9:18" - }, - "referencedDeclaration": 39328, - "src": "2705:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40944, - "initialValue": { - "arguments": [ - { - "id": 40939, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40895, - "src": "2741:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 40940, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40898, - "src": "2762:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 40941, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40901, - "src": "2781:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 40942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2799:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 40937, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2728:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2734:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "2728:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2728:102:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2705:125:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40948, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2863:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40949, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2867:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2863:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 40950, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2871:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 40951, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40913, - "src": "2897:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40945, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2834:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2840:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2834:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40952, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2834:74:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40953, - "nodeType": "ExpressionStatement", - "src": "2834:74:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40957, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "2941:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40958, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2945:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "2941:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 40959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2949:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "id": 40962, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40919, - "src": "2995:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - ], - "expression": { - "id": 40960, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "2984:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "2988:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "2984:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2984:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40954, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "2912:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 40956, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "2918:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "2912:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40964, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "2912:88:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40965, - "nodeType": "ExpressionStatement", - "src": "2912:88:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40967, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3018:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40968, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3022:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3018:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 40969, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3026:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40970, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3030:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3026:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 40971, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3051:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40972, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3055:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3051:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 40966, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3009:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 40973, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3009:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40974, - "nodeType": "EmitStatement", - "src": "3004:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 40976, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3089:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40977, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3093:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3089:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 40978, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3097:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 40975, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3079:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 40979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3079:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40980, - "nodeType": "EmitStatement", - "src": "3074:28:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 40984, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3177:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 40985, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3182:14:18", - "memberName": "emitBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41019, - "src": "3177:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external" - } - }, - "id": 40986, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3197:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "3177:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 40989, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40936, - "src": "3218:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 40990, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40926, - "src": "3223:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40987, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "3207:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "3211:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "3207:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3207:21:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40982, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3164:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 40981, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3164:5:18", - "typeDescriptions": {} - } - }, - "id": 40983, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3170:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "3164:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3164:65:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 40905, - "id": 40993, - "nodeType": "Return", - "src": "3157:72:18" - } - ] - }, - "functionSelector": "236eb5a7", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newBid", - "nameLocation": "2200:6:18", - "parameters": { - "id": 40902, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40895, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "2214:19:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2207:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 40894, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "2207:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40898, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "2252:17:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2235:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40896, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2235:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40897, - "nodeType": "ArrayTypeName", - "src": "2235:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 40901, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "2288:16:18", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2271:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2271:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40900, - "nodeType": "ArrayTypeName", - "src": "2271:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "src": "2206:99:18" - }, - "returnParameters": { - "id": 40905, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40904, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 40995, - "src": "2332:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40903, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2332:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "2331:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41019, - "nodeType": "FunctionDefinition", - "src": "3236:180:18", - "nodes": [], - "body": { - "id": 41018, - "nodeType": "Block", - "src": "3310:106:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41004, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3328:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41005, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3332:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3328:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41006, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3336:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3340:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "3336:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41008, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3361:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41009, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3365:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "3361:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", - "typeString": "address[] calldata" - } - ], - "id": 41003, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "3319:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3319:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41011, - "nodeType": "EmitStatement", - "src": "3314:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41013, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40998, - "src": "3399:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid calldata" - } - }, - "id": 41014, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3403:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "3399:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41015, - "name": "hint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41000, - "src": "3407:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41012, - "name": "HintEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40886, - "src": "3389:9:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41016, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3389:23:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41017, - "nodeType": "EmitStatement", - "src": "3384:28:18" - } - ] - }, - "functionSelector": "89026c11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBidAndHint", - "nameLocation": "3245:14:18", - "parameters": { - "id": 41001, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 40998, - "mutability": "mutable", - "name": "bid", - "nameLocation": "3279:3:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3260:22:18", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_calldata_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40997, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40996, - "name": "Suave.Bid", - "nameLocations": [ - "3260:5:18", - "3266:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "3260:9:18" - }, - "referencedDeclaration": 39328, - "src": "3260:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41000, - "mutability": "mutable", - "name": "hint", - "nameLocation": "3297:4:18", - "nodeType": "VariableDeclaration", - "scope": 41019, - "src": "3284:17:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40999, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3284:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3259:43:18" - }, - "returnParameters": { - "id": 41002, - "nodeType": "ParameterList", - "parameters": [], - "src": "3310:0:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41139, - "nodeType": "FunctionDefinition", - "src": "3419:1174:18", - "nodes": [], - "body": { - "id": 41138, - "nodeType": "Block", - "src": "3600:993:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41036, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3741:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3747:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "3741:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3741:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41035, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "3733:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41039, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3733:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41040, - "nodeType": "ExpressionStatement", - "src": "3733:31:18" - }, - { - "assignments": [ - 41042 - ], - "declarations": [ - { - "constant": false, - "id": 41042, - "mutability": "mutable", - "name": "matchBundleData", - "nameLocation": "3813:15:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3800:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41041, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3800:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41046, - "initialValue": { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41043, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "3831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3836:30:18", - "memberName": "fetchBidConfidentialBundleData", - "nodeType": "MemberAccess", - "referencedDeclaration": 40695, - "src": "3831:35:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () external returns (bytes memory)" - } - }, - "id": 41045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3831:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3800:68:18" - }, - { - "assignments": [ - 41048 - ], - "declarations": [ - { - "constant": false, - "id": 41048, - "mutability": "mutable", - "name": "egp", - "nameLocation": "3917:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3910:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41047, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3910:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41053, - "initialValue": { - "arguments": [ - { - "id": 41051, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "3944:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41049, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "3923:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41050, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "3929:14:18", - "memberName": "simulateBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39852, - "src": "3923:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint64_$", - "typeString": "function (bytes memory) view returns (uint64)" - } - }, - "id": 41052, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "3923:37:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3910:50:18" - }, - { - "assignments": [ - 41055 - ], - "declarations": [ - { - "constant": false, - "id": 41055, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "3999:9:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "3986:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41054, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3986:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41060, - "initialValue": { - "arguments": [ - { - "id": 41058, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4029:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41056, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4011:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41057, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4017:11:18", - "memberName": "extractHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 39645, - "src": "4011:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory) view returns (bytes memory)" - } - }, - "id": 41059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4011:34:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3986:59:18" - }, - { - "assignments": [ - 41065 - ], - "declarations": [ - { - "constant": false, - "id": 41065, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4069:3:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4052:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41064, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41063, - "name": "Suave.Bid", - "nameLocations": [ - "4052:5:18", - "4058:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4052:9:18" - }, - "referencedDeclaration": 39328, - "src": "4052:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41073, - "initialValue": { - "arguments": [ - { - "id": 41068, - "name": "decryptionCondition", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41021, - "src": "4088:19:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41069, - "name": "bidAllowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41024, - "src": "4109:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41070, - "name": "bidAllowedStores", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41027, - "src": "4128:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41071, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4146:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41066, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4075:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41067, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4081:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "4075:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41072, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4075:95:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4052:118:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41077, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4203:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41078, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4207:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4203:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6573", - "id": 41079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4211:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - "value": "mevshare:v0:ethBundles" - }, - { - "id": 41080, - "name": "matchBundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41042, - "src": "4237:15:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_0b2939ba1e6f64cab16bc882fea2a9df156c19c526bf565d972faf0f69881aa7", - "typeString": "literal_string \"mevshare:v0:ethBundles\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41074, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4174:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41076, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4180:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4174:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4174:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41082, - "nodeType": "ExpressionStatement", - "src": "4174:79:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41086, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4286:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41087, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4290:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4286:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41088, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4294:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - }, - { - "arguments": [ - { - "hexValue": "30", - "id": 41091, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4340:1:18", - "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" - } - ], - "expression": { - "id": 41089, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4329:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41090, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4333:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4329:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41092, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4329:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41083, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4257:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41085, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4263:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4257:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41093, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4257:86:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41094, - "nodeType": "ExpressionStatement", - "src": "4257:86:18" - }, - { - "assignments": [ - 41100 - ], - "declarations": [ - { - "constant": false, - "id": 41100, - "mutability": "mutable", - "name": "bids", - "nameLocation": "4387:4:18", - "nodeType": "VariableDeclaration", - "scope": 41138, - "src": "4366:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41098, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41097, - "name": "Suave.BidId", - "nameLocations": [ - "4366:5:18", - "4372:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4366:11:18" - }, - "referencedDeclaration": 39311, - "src": "4366:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41099, - "nodeType": "ArrayTypeName", - "src": "4366:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41107, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41105, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4412:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "4394:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41102, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41101, - "name": "Suave.BidId", - "nameLocations": [ - "4398:5:18", - "4404:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "4398:11:18" - }, - "referencedDeclaration": 39311, - "src": "4398:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41103, - "nodeType": "ArrayTypeName", - "src": "4398:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4394:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4366:48:18" - }, - { - "expression": { - "id": 41112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41108, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4418:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41110, - "indexExpression": { - "hexValue": "30", - "id": 41109, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4423:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4418:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41111, - "name": "shareBidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41030, - "src": "4428:10:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4418:20:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41113, - "nodeType": "ExpressionStatement", - "src": "4418:20:18" - }, - { - "expression": { - "id": 41119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41114, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4442:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41116, - "indexExpression": { - "hexValue": "31", - "id": 41115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4447:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4442:7:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41117, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4452:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41118, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4456:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4452:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "4442:16:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41120, - "nodeType": "ExpressionStatement", - "src": "4442:16:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41124, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4491:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41125, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4495:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4491:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41126, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4499:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41129, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41100, - "src": "4536:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41127, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4525:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41128, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4529:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4525:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41130, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4525:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "4462:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4468:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "4462:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4462:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41132, - "nodeType": "ExpressionStatement", - "src": "4462:80:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41134, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41065, - "src": "4574:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41135, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41055, - "src": "4579:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41133, - "name": "emitMatchBidAndHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41177, - "src": "4554:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4554:35:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41034, - "id": 41137, - "nodeType": "Return", - "src": "4547:42:18" - } - ] - }, - "functionSelector": "d8f55db9", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "newMatch", - "nameLocation": "3428:8:18", - "parameters": { - "id": 41031, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41021, - "mutability": "mutable", - "name": "decryptionCondition", - "nameLocation": "3444:19:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3437:26:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41020, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "3437:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41024, - "mutability": "mutable", - "name": "bidAllowedPeekers", - "nameLocation": "3482:17:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3465:34:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41022, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3465:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41023, - "nodeType": "ArrayTypeName", - "src": "3465:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41027, - "mutability": "mutable", - "name": "bidAllowedStores", - "nameLocation": "3518:16:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3501:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3501:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41026, - "nodeType": "ArrayTypeName", - "src": "3501:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41030, - "mutability": "mutable", - "name": "shareBidId", - "nameLocation": "3548:10:18", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3536:22:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41029, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41028, - "name": "Suave.BidId", - "nameLocations": [ - "3536:5:18", - "3542:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "3536:11:18" - }, - "referencedDeclaration": 39311, - "src": "3536:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "3436:123:18" - }, - "returnParameters": { - "id": 41034, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41033, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41139, - "src": "3586:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41032, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3586:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "3585:14:18" - }, - "scope": 41178, - "stateMutability": "payable", - "virtual": false, - "visibility": "external" - }, - { - "id": 41177, - "nodeType": "FunctionDefinition", - "src": "4596:291:18", - "nodes": [], - "body": { - "id": 41176, - "nodeType": "Block", - "src": "4711:176:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41150, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4729:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4733:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4729:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41152, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4737:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41153, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4741:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "4737:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41154, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4762:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41155, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4766:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "4762:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41149, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "4720:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4720:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41157, - "nodeType": "EmitStatement", - "src": "4715:66:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41159, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4801:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41160, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4805:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "4801:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41161, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41144, - "src": "4809:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41158, - "name": "MatchEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40893, - "src": "4790:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4790:29:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41163, - "nodeType": "EmitStatement", - "src": "4785:34:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41167, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "4844:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MevShareBidContract_$41178", - "typeString": "contract MevShareBidContract" - } - }, - "id": 41168, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4849:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "4844:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 41169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4857:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "4844:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41172, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41142, - "src": "4878:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 41170, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "4867:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "4871:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "4867:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4867:15:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "4831:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41164, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4831:5:18", - "typeDescriptions": {} - } - }, - "id": 41166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "4837:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "4831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "4831:52:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41148, - "id": 41175, - "nodeType": "Return", - "src": "4824:59:18" - } - ] - }, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "4605:19:18", - "parameters": { - "id": 41145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41142, - "mutability": "mutable", - "name": "bid", - "nameLocation": "4642:3:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4625:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41141, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41140, - "name": "Suave.Bid", - "nameLocations": [ - "4625:5:18", - "4631:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "4625:9:18" - }, - "referencedDeclaration": 39328, - "src": "4625:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41144, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "4660:9:18", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4647:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41143, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4647:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4624:46:18" - }, - "returnParameters": { - "id": 41148, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41147, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41177, - "src": "4697:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41146, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4697:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "4696:14:18" - }, - "scope": 41178, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40878, - "name": "AnyBidContract", - "nameLocations": [ - "2047:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "2047:14:18" - }, - "id": 40879, - "nodeType": "InheritanceSpecifier", - "src": "2047:14:18" - } - ], - "canonicalName": "MevShareBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41178, - 40712 - ], - "name": "MevShareBidContract", - "nameLocation": "2024:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41244, - "nodeType": "ContractDefinition", - "src": "4891:563:18", - "nodes": [ - { - "id": 41183, - "nodeType": "VariableDeclaration", - "src": "4955:27:18", - "nodes": [], - "constant": false, - "functionSelector": "1141a0b0", - "mutability": "mutable", - "name": "builderUrls", - "nameLocation": "4971:11:18", - "scope": 41244, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41181, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4955:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41182, - "nodeType": "ArrayTypeName", - "src": "4955:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "public" - }, - { - "id": 41194, - "nodeType": "FunctionDefinition", - "src": "4986:76:18", - "nodes": [], - "body": { - "id": 41193, - "nodeType": "Block", - "src": "5028:34:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 41191, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41189, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5032:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41190, - "name": "builderUrls_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41186, - "src": "5046:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string memory[] memory" - } - }, - "src": "5032:26:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41192, - "nodeType": "ExpressionStatement", - "src": "5032:26:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 41187, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41186, - "mutability": "mutable", - "name": "builderUrls_", - "nameLocation": "5014:12:18", - "nodeType": "VariableDeclaration", - "scope": 41194, - "src": "4998:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr", - "typeString": "string[]" - }, - "typeName": { - "baseType": { - "id": 41184, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4998:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "id": 41185, - "nodeType": "ArrayTypeName", - "src": "4998:8:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", - "typeString": "string[]" - } - }, - "visibility": "internal" - } - ], - "src": "4997:30:18" - }, - "returnParameters": { - "id": 41188, - "nodeType": "ParameterList", - "parameters": [], - "src": "5028:0:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41243, - "nodeType": "FunctionDefinition", - "src": "5065:387:18", - "nodes": [], - "body": { - "id": 41242, - "nodeType": "Block", - "src": "5189:263:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41206 - ], - "declarations": [ - { - "constant": false, - "id": 41206, - "mutability": "mutable", - "name": "bundleData", - "nameLocation": "5206:10:18", - "nodeType": "VariableDeclaration", - "scope": 41242, - "src": "5193:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41205, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5193:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41212, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41209, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5244:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41210, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5248:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "5244:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41207, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5219:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5225:18:18", - "memberName": "fillMevShareBundle", - "nodeType": "MemberAccess", - "referencedDeclaration": 39724, - "src": "5219:24:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId) view returns (bytes memory)" - } - }, - "id": 41211, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5219:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5193:58:18" - }, - { - "body": { - "id": 41234, - "nodeType": "Block", - "src": "5301:81:18", - "statements": [ - { - "expression": { - "arguments": [ - { - "baseExpression": { - "id": 41227, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5332:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41229, - "indexExpression": { - "id": 41228, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5344:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5332:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "hexValue": "6d65765f73656e6442756e646c65", - "id": 41230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5348:16:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - "value": "mev_sendBundle" - }, - { - "id": 41231, - "name": "bundleData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41206, - "src": "5366:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_stringliteral_08ee8afc51664649db548c60fa6b3579958b25b62e19ba3780526819e3d95e4e", - "typeString": "literal_string \"mev_sendBundle\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41224, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "5306:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5312:19:18", - "memberName": "submitBundleJsonRPC", - "nodeType": "MemberAccess", - "referencedDeclaration": 39894, - "src": "5306:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 41232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5306:71:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41233, - "nodeType": "ExpressionStatement", - "src": "5306:71:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41217, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5272:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41218, - "name": "builderUrls", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41183, - "src": "5276:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_string_storage_$dyn_storage", - "typeString": "string storage ref[] storage ref" - } - }, - "id": 41219, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5288:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5276:18:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5272:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41235, - "initializationExpression": { - "assignments": [ - 41214 - ], - "declarations": [ - { - "constant": false, - "id": 41214, - "mutability": "mutable", - "name": "i", - "nameLocation": "5265:1:18", - "nodeType": "VariableDeclaration", - "scope": 41235, - "src": "5260:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41213, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5260:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41216, - "initialValue": { - "hexValue": "30", - "id": 41215, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5269:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5260:10:18" - }, - "loopExpression": { - "expression": { - "id": 41222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5296:3:18", - "subExpression": { - "id": 41221, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41214, - "src": "5296:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41223, - "nodeType": "ExpressionStatement", - "src": "5296:3:18" - }, - "nodeType": "ForStatement", - "src": "5255:127:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41238, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41197, - "src": "5433:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41239, - "name": "matchHint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41199, - "src": "5438:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41236, - "name": "MevShareBidContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41178, - "src": "5393:19:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MevShareBidContract_$41178_$", - "typeString": "type(contract MevShareBidContract)" - } - }, - "id": 41237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5413:19:18", - "memberName": "emitMatchBidAndHint", - "nodeType": "MemberAccess", - "referencedDeclaration": 41177, - "src": "5393:39:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) returns (bytes memory)" - } - }, - "id": 41240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5393:55:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41204, - "id": 41241, - "nodeType": "Return", - "src": "5386:62:18" - } - ] - }, - "baseFunctions": [ - 41177 - ], - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitMatchBidAndHint", - "nameLocation": "5074:19:18", - "overrides": { - "id": 41201, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "5157:8:18" - }, - "parameters": { - "id": 41200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41197, - "mutability": "mutable", - "name": "bid", - "nameLocation": "5111:3:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5094:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41196, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41195, - "name": "Suave.Bid", - "nameLocations": [ - "5094:5:18", - "5100:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "5094:9:18" - }, - "referencedDeclaration": 39328, - "src": "5094:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41199, - "mutability": "mutable", - "name": "matchHint", - "nameLocation": "5129:9:18", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5116:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41198, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5116:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5093:46:18" - }, - "returnParameters": { - "id": 41204, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41203, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41243, - "src": "5175:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41202, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5175:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5174:14:18" - }, - "scope": 41244, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "internal" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41179, - "name": "MevShareBidContract", - "nameLocations": [ - "4932:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41178, - "src": "4932:19:18" - }, - "id": 41180, - "nodeType": "InheritanceSpecifier", - "src": "4932:19:18" - } - ], - "canonicalName": "MevShareBundleSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 41244, - 41178, - 40712 - ], - "name": "MevShareBundleSenderContract", - "nameLocation": "4900:28:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 41250, - "nodeType": "StructDefinition", - "src": "5511:81:18", - "nodes": [], - "canonicalName": "EgpBidPair", - "members": [ - { - "constant": false, - "id": 41246, - "mutability": "mutable", - "name": "egp", - "nameLocation": "5539:3:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5532:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41245, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "5532:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41249, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5584:5:18", - "nodeType": "VariableDeclaration", - "scope": 41250, - "src": "5572:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41248, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41247, - "name": "Suave.BidId", - "nameLocations": [ - "5572:5:18", - "5578:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5572:11:18" - }, - "referencedDeclaration": 39311, - "src": "5572:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "name": "EgpBidPair", - "nameLocation": "5518:10:18", - "scope": 42152, - "visibility": "public" - }, - { - "id": 42069, - "nodeType": "ContractDefinition", - "src": "5594:5568:18", - "nodes": [ - { - "id": 41259, - "nodeType": "EventDefinition", - "src": "5645:71:18", - "nodes": [], - "anonymous": false, - "eventSelector": "67fa9c16cd72410c4cc1d47205b31852a81ec5e92d1c8cebc3ecbe98ed67fe3f", - "name": "BuilderBoostBidEvent", - "nameLocation": "5651:20:18", - "parameters": { - "id": 41258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41255, - "indexed": false, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "5687:5:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5675:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41254, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41253, - "name": "Suave.BidId", - "nameLocations": [ - "5675:5:18", - "5681:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5675:11:18" - }, - "referencedDeclaration": 39311, - "src": "5675:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41257, - "indexed": false, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "5702:10:18", - "nodeType": "VariableDeclaration", - "scope": 41259, - "src": "5696:16:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41256, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5696:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "5671:44:18" - } - }, - { - "id": 41314, - "nodeType": "FunctionDefinition", - "src": "5720:276:18", - "nodes": [], - "body": { - "id": 41313, - "nodeType": "Block", - "src": "5797:199:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41271 - ], - "declarations": [ - { - "constant": false, - "id": 41271, - "mutability": "mutable", - "name": "l", - "nameLocation": "5814:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5801:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41270, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5801:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41276, - "initialValue": { - "arguments": [ - { - "id": 41274, - "name": "_l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41262, - "src": "5835:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41272, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5818:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41273, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5822:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5818:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5801:37:18" - }, - { - "assignments": [ - 41278 - ], - "declarations": [ - { - "constant": false, - "id": 41278, - "mutability": "mutable", - "name": "r", - "nameLocation": "5855:1:18", - "nodeType": "VariableDeclaration", - "scope": 41313, - "src": "5842:14:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41277, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5842:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41283, - "initialValue": { - "arguments": [ - { - "id": 41281, - "name": "_r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41265, - "src": "5876:2:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "expression": { - "id": 41279, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "5859:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41280, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "5863:12:18", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "5859:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41282, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5859:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "5842:37:18" - }, - { - "body": { - "id": 41309, - "nodeType": "Block", - "src": "5919:58:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - }, - "id": 41304, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "baseExpression": { - "arguments": [ - { - "id": 41297, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5934:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41296, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5928:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41295, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "5928:5:18", - "typeDescriptions": {} - } - }, - "id": 41298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "5928:8:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41300, - "indexExpression": { - "id": 41299, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5937:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5928:11:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "baseExpression": { - "id": 41301, - "name": "r", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41278, - "src": "5943:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41303, - "indexExpression": { - "id": 41302, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5945:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5943:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes1", - "typeString": "bytes1" - } - }, - "src": "5928:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41308, - "nodeType": "IfStatement", - "src": "5924:49:18", - "trueBody": { - "id": 41307, - "nodeType": "Block", - "src": "5949:24:18", - "statements": [ - { - "expression": { - "hexValue": "66616c7365", - "id": 41305, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5962:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 41269, - "id": 41306, - "nodeType": "Return", - "src": "5955:12:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41288, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5900:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41289, - "name": "l", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41271, - "src": "5904:1:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 41290, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "5906:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "5904:8:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5900:12:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41310, - "initializationExpression": { - "assignments": [ - 41285 - ], - "declarations": [ - { - "constant": false, - "id": 41285, - "mutability": "mutable", - "name": "i", - "nameLocation": "5893:1:18", - "nodeType": "VariableDeclaration", - "scope": 41310, - "src": "5888:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41284, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "5888:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41287, - "initialValue": { - "hexValue": "30", - "id": 41286, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "5888:10:18" - }, - "loopExpression": { - "expression": { - "id": 41293, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "5914:3:18", - "subExpression": { - "id": 41292, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41285, - "src": "5914:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41294, - "nodeType": "ExpressionStatement", - "src": "5914:3:18" - }, - "nodeType": "ForStatement", - "src": "5883:94:18" - }, - { - "expression": { - "hexValue": "74727565", - "id": 41311, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5988:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 41269, - "id": 41312, - "nodeType": "Return", - "src": "5981:11:18" - } - ] - }, - "functionSelector": "e829cd5d", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "idsEqual", - "nameLocation": "5729:8:18", - "parameters": { - "id": 41266, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41262, - "mutability": "mutable", - "name": "_l", - "nameLocation": "5750:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5738:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41261, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41260, - "name": "Suave.BidId", - "nameLocations": [ - "5738:5:18", - "5744:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5738:11:18" - }, - "referencedDeclaration": 39311, - "src": "5738:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41265, - "mutability": "mutable", - "name": "_r", - "nameLocation": "5766:2:18", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5754:14:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 41264, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41263, - "name": "Suave.BidId", - "nameLocations": [ - "5754:5:18", - "5760:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "5754:11:18" - }, - "referencedDeclaration": 39311, - "src": "5754:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - } - ], - "src": "5737:32:18" - }, - "returnParameters": { - "id": 41269, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41268, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41314, - "src": "5791:4:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 41267, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5791:4:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "visibility": "internal" - } - ], - "src": "5790:6:18" - }, - "scope": 42069, - "stateMutability": "pure", - "virtual": false, - "visibility": "public" - }, - { - "id": 41633, - "nodeType": "FunctionDefinition", - "src": "5999:2014:18", - "nodes": [], - "body": { - "id": 41632, - "nodeType": "Block", - "src": "6111:1902:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41325, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6123:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41326, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6129:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "6123:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6123:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41324, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "6115:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6115:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41329, - "nodeType": "ExpressionStatement", - "src": "6115:31:18" - }, - { - "assignments": [ - 41335 - ], - "declarations": [ - { - "constant": false, - "id": 41335, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "6170:17:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6151:36:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41333, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41332, - "name": "Suave.Bid", - "nameLocations": [ - "6151:5:18", - "6157:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6151:9:18" - }, - "referencedDeclaration": 39328, - "src": "6151:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41334, - "nodeType": "ArrayTypeName", - "src": "6151:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41341, - "initialValue": { - "arguments": [ - { - "id": 41338, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6206:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a6d6174636842696473", - "id": 41339, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6219:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - }, - "value": "mevshare:v0:matchBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_4fea00e6cd9480146b607afb7551366900de705b32d389068c52cde18c46e84e", - "typeString": "literal_string \"mevshare:v0:matchBids\"" - } - ], - "expression": { - "id": 41336, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6190:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6196:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6190:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6190:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6151:92:18" - }, - { - "assignments": [ - 41347 - ], - "declarations": [ - { - "constant": false, - "id": 41347, - "mutability": "mutable", - "name": "allShareUserBids", - "nameLocation": "6266:16:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6247:35:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41345, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41344, - "name": "Suave.Bid", - "nameLocations": [ - "6247:5:18", - "6253:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6247:9:18" - }, - "referencedDeclaration": 39328, - "src": "6247:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41346, - "nodeType": "ArrayTypeName", - "src": "6247:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41353, - "initialValue": { - "arguments": [ - { - "id": 41350, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "6301:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "6d657673686172653a76303a756e6d61746368656442756e646c6573", - "id": 41351, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6314:30:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - }, - "value": "mevshare:v0:unmatchedBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_1cbd0b59b8c0185527abed1f8d7b5df204053233b9368807ecd8d28ae9b774cd", - "typeString": "literal_string \"mevshare:v0:unmatchedBundles\"" - } - ], - "expression": { - "id": 41348, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6285:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41349, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6291:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "6285:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6285:60:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6247:98:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41357, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41354, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6354:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6371:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6354:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6381:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "6354:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41369, - "nodeType": "IfStatement", - "src": "6350:97:18", - "trueBody": { - "id": 41368, - "nodeType": "Block", - "src": "6384:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41363, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "6425:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41362, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "6417:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41361, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6417:7:18", - "typeDescriptions": {} - } - }, - "id": 41364, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6417:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6432:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41358, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6396:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6402:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "6396:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41366, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6396:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41367, - "nodeType": "RevertStatement", - "src": "6389:53:18" - } - ] - } - }, - { - "assignments": [ - 41375 - ], - "declarations": [ - { - "constant": false, - "id": 41375, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "6470:7:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "6451:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41373, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41372, - "name": "Suave.Bid", - "nameLocations": [ - "6451:5:18", - "6457:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6451:9:18" - }, - "referencedDeclaration": 39328, - "src": "6451:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41374, - "nodeType": "ArrayTypeName", - "src": "6451:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41383, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41380, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6496:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6513:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6496:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41379, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "6480:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct Suave.Bid memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41377, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41376, - "name": "Suave.Bid", - "nameLocations": [ - "6484:5:18", - "6490:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6484:9:18" - }, - "referencedDeclaration": 39328, - "src": "6484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41378, - "nodeType": "ArrayTypeName", - "src": "6484:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - } - }, - "id": 41382, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6480:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6451:69:18" - }, - { - "body": { - "id": 41463, - "nodeType": "Block", - "src": "6575:566:18", - "statements": [ - { - "assignments": [ - 41399 - ], - "declarations": [ - { - "constant": false, - "id": 41399, - "mutability": "mutable", - "name": "bidToInsert", - "nameLocation": "6636:11:18", - "nodeType": "VariableDeclaration", - "scope": 41463, - "src": "6619:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41398, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41397, - "name": "Suave.Bid", - "nameLocations": [ - "6619:5:18", - "6625:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "6619:9:18" - }, - "referencedDeclaration": 39328, - "src": "6619:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41403, - "initialValue": { - "baseExpression": { - "id": 41400, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6650:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41402, - "indexExpression": { - "id": 41401, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6667:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6650:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6619:50:18" - }, - { - "body": { - "id": 41455, - "nodeType": "Block", - "src": "6772:336:18", - "statements": [ - { - "assignments": [ - 41420 - ], - "declarations": [ - { - "constant": false, - "id": 41420, - "mutability": "mutable", - "name": "mergedBidIds", - "nameLocation": "6856:12:18", - "nodeType": "VariableDeclaration", - "scope": 41455, - "src": "6835:33:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41418, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41417, - "name": "Suave.BidId", - "nameLocations": [ - "6835:5:18", - "6841:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "6835:11:18" - }, - "referencedDeclaration": 39311, - "src": "6835:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41419, - "nodeType": "ArrayTypeName", - "src": "6835:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41436, - "initialValue": { - "arguments": [ - { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41425, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6914:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41427, - "indexExpression": { - "id": 41426, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6932:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6914:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41428, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6935:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "6914:23:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a6d657267656442696473", - "id": 41429, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6939:24:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - }, - "value": "mevshare:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_74667a7516522fbfb795d7607574258b66292c97841577b2daaaca9d874ac3fd", - "typeString": "literal_string \"mevshare:v0:mergedBids\"" - } - ], - "expression": { - "id": 41423, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6882:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41424, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6888:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "6882:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6882:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "baseExpression": { - "expression": { - "id": 41431, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "6967:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6973:5:18", - "memberName": "BidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 39311, - "src": "6967:11:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_userDefinedValueType$_BidId_$39311_$", - "typeString": "type(Suave.BidId)" - } - }, - "id": 41433, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6967:13:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "id": 41434, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "6966:15:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "type(Suave.BidId[] memory)" - } - ], - "expression": { - "id": 41421, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "6871:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "6875:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "6871:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6871:111:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "6835:147:18" - }, - { - "condition": { - "arguments": [ - { - "baseExpression": { - "id": 41438, - "name": "mergedBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41420, - "src": "7001:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41440, - "indexExpression": { - "hexValue": "30", - "id": 41439, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7014:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7001:15:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "baseExpression": { - "id": 41441, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "7018:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41443, - "indexExpression": { - "id": 41442, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7035:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7018:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41444, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7038:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7018:22:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41437, - "name": "idsEqual", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41314, - "src": "6992:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_BidId_$39311_$_t_userDefinedValueType$_BidId_$39311_$returns$_t_bool_$", - "typeString": "function (Suave.BidId,Suave.BidId) pure returns (bool)" - } - }, - "id": 41445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "6992:49:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41454, - "nodeType": "IfStatement", - "src": "6988:115:18", - "trueBody": { - "id": 41453, - "nodeType": "Block", - "src": "7043:60:18", - "statements": [ - { - "expression": { - "id": 41450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 41446, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7050:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41447, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "7064:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41449, - "indexExpression": { - "id": 41448, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "7082:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7064:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7050:34:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41451, - "nodeType": "ExpressionStatement", - "src": "7050:34:18" - }, - { - "id": 41452, - "nodeType": "Break", - "src": "7091:5:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41408, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6737:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41409, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41335, - "src": "6741:17:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6759:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6741:24:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6737:28:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41456, - "initializationExpression": { - "assignments": [ - 41405 - ], - "declarations": [ - { - "constant": false, - "id": 41405, - "mutability": "mutable", - "name": "j", - "nameLocation": "6730:1:18", - "nodeType": "VariableDeclaration", - "scope": 41456, - "src": "6725:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41404, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6725:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41407, - "initialValue": { - "hexValue": "30", - "id": 41406, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6734:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6725:10:18" - }, - "loopExpression": { - "expression": { - "id": 41413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6767:3:18", - "subExpression": { - "id": 41412, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41405, - "src": "6767:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41414, - "nodeType": "ExpressionStatement", - "src": "6767:3:18" - }, - "nodeType": "ForStatement", - "src": "6720:388:18" - }, - { - "expression": { - "id": 41461, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41457, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7112:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41459, - "indexExpression": { - "id": 41458, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "7120:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7112:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41460, - "name": "bidToInsert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41399, - "src": "7125:11:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "src": "7112:24:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41462, - "nodeType": "ExpressionStatement", - "src": "7112:24:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41388, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6541:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41389, - "name": "allShareUserBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41347, - "src": "6545:16:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6562:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "6545:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6541:27:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41464, - "initializationExpression": { - "assignments": [ - 41385 - ], - "declarations": [ - { - "constant": false, - "id": 41385, - "mutability": "mutable", - "name": "i", - "nameLocation": "6534:1:18", - "nodeType": "VariableDeclaration", - "scope": 41464, - "src": "6529:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41384, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "6529:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41387, - "initialValue": { - "hexValue": "30", - "id": 41386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6538:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "6529:10:18" - }, - "loopExpression": { - "expression": { - "id": 41393, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "6570:3:18", - "subExpression": { - "id": 41392, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41385, - "src": "6570:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41394, - "nodeType": "ExpressionStatement", - "src": "6570:3:18" - }, - "nodeType": "ForStatement", - "src": "6524:617:18" - }, - { - "assignments": [ - 41469 - ], - "declarations": [ - { - "constant": false, - "id": 41469, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "7165:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7145:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41467, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41466, - "name": "EgpBidPair", - "nameLocations": [ - "7145:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7145:10:18" - }, - "referencedDeclaration": 41250, - "src": "7145:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41468, - "nodeType": "ArrayTypeName", - "src": "7145:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41477, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41474, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7194:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7202:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7194:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7177:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41471, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41470, - "name": "EgpBidPair", - "nameLocations": [ - "7181:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7181:10:18" - }, - "referencedDeclaration": 41250, - "src": "7181:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41472, - "nodeType": "ArrayTypeName", - "src": "7181:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41476, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7177:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7145:64:18" - }, - { - "body": { - "id": 41522, - "nodeType": "Block", - "src": "7255:217:18", - "statements": [ - { - "assignments": [ - 41490 - ], - "declarations": [ - { - "constant": false, - "id": 41490, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "7273:10:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7260:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41489, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7260:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41499, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41493, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7318:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41495, - "indexExpression": { - "id": 41494, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7326:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7318:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7329:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7318:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "6d657673686172653a76303a65746842756e646c6553696d526573756c7473", - "id": 41497, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7333:33:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - }, - "value": "mevshare:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_1212f418d6a8d5af1ee01b3cc0a7db823cf79be6084a1655057c9d46c6efee37", - "typeString": "literal_string \"mevshare:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41491, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "7286:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41492, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7292:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "7286:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41498, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7286:81:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7260:107:18" - }, - { - "assignments": [ - 41501 - ], - "declarations": [ - { - "constant": false, - "id": 41501, - "mutability": "mutable", - "name": "egp", - "nameLocation": "7379:3:18", - "nodeType": "VariableDeclaration", - "scope": 41522, - "src": "7372:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41500, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7372:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41509, - "initialValue": { - "arguments": [ - { - "id": 41504, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41490, - "src": "7396:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41506, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7409:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41505, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "7409:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41507, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7408:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41502, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "7385:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41503, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "7389:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "7385:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7385:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7372:45:18" - }, - { - "expression": { - "id": 41520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41510, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7422:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41512, - "indexExpression": { - "id": 41511, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7432:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7422:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41514, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41501, - "src": "7448:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41515, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7453:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41517, - "indexExpression": { - "id": 41516, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7461:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7453:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41518, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7464:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "7453:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41513, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "7437:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41519, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7437:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7422:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41521, - "nodeType": "ExpressionStatement", - "src": "7422:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41485, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41482, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7230:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41483, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7234:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7242:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7234:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7230:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41523, - "initializationExpression": { - "assignments": [ - 41479 - ], - "declarations": [ - { - "constant": false, - "id": 41479, - "mutability": "mutable", - "name": "i", - "nameLocation": "7223:1:18", - "nodeType": "VariableDeclaration", - "scope": 41523, - "src": "7218:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41478, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7218:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41481, - "initialValue": { - "hexValue": "30", - "id": 41480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7227:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7218:10:18" - }, - "loopExpression": { - "expression": { - "id": 41487, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7250:3:18", - "subExpression": { - "id": 41486, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41479, - "src": "7250:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41488, - "nodeType": "ExpressionStatement", - "src": "7250:3:18" - }, - "nodeType": "ForStatement", - "src": "7213:259:18" - }, - { - "assignments": [ - 41525 - ], - "declarations": [ - { - "constant": false, - "id": 41525, - "mutability": "mutable", - "name": "n", - "nameLocation": "7513:1:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7508:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41524, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41528, - "initialValue": { - "expression": { - "id": 41526, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7517:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7527:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7517:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7508:25:18" - }, - { - "body": { - "id": 41587, - "nodeType": "Block", - "src": "7570:205:18", - "statements": [ - { - "body": { - "id": 41585, - "nodeType": "Block", - "src": "7608:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41553, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7618:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41555, - "indexExpression": { - "id": 41554, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7628:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7618:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41556, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7631:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7618:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41557, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7637:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41559, - "indexExpression": { - "id": 41558, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7647:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7637:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41560, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7650:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "7637:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "7618:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41584, - "nodeType": "IfStatement", - "src": "7614:152:18", - "trueBody": { - "id": 41583, - "nodeType": "Block", - "src": "7655:111:18", - "statements": [ - { - "assignments": [ - 41564 - ], - "declarations": [ - { - "constant": false, - "id": 41564, - "mutability": "mutable", - "name": "temp", - "nameLocation": "7680:4:18", - "nodeType": "VariableDeclaration", - "scope": 41583, - "src": "7662:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41563, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41562, - "name": "EgpBidPair", - "nameLocations": [ - "7662:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "7662:10:18" - }, - "referencedDeclaration": 41250, - "src": "7662:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41568, - "initialValue": { - "baseExpression": { - "id": 41565, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7687:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41567, - "indexExpression": { - "id": 41566, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7697:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7687:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7662:37:18" - }, - { - "expression": { - "id": 41575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41569, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7706:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41571, - "indexExpression": { - "id": 41570, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7716:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7706:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41572, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7721:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41574, - "indexExpression": { - "id": 41573, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7731:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7721:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7706:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41576, - "nodeType": "ExpressionStatement", - "src": "7706:27:18" - }, - { - "expression": { - "id": 41581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41577, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7740:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41579, - "indexExpression": { - "id": 41578, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7750:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7740:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41580, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41564, - "src": "7755:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "7740:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41582, - "nodeType": "ExpressionStatement", - "src": "7740:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41549, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41547, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7596:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41548, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7600:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7596:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41586, - "initializationExpression": { - "assignments": [ - 41542 - ], - "declarations": [ - { - "constant": false, - "id": 41542, - "mutability": "mutable", - "name": "j", - "nameLocation": "7585:1:18", - "nodeType": "VariableDeclaration", - "scope": 41586, - "src": "7580:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41541, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7580:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41546, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41543, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7589:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7593:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7589:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7580:14:18" - }, - "loopExpression": { - "expression": { - "id": 41551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7603:3:18", - "subExpression": { - "id": 41550, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41542, - "src": "7603:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41552, - "nodeType": "ExpressionStatement", - "src": "7603:3:18" - }, - "nodeType": "ForStatement", - "src": "7575:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41533, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7554:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41536, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41534, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41525, - "src": "7558:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41535, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7562:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "7558:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7554:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41588, - "initializationExpression": { - "assignments": [ - 41530 - ], - "declarations": [ - { - "constant": false, - "id": 41530, - "mutability": "mutable", - "name": "i", - "nameLocation": "7547:1:18", - "nodeType": "VariableDeclaration", - "scope": 41588, - "src": "7542:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41529, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7542:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41532, - "initialValue": { - "hexValue": "30", - "id": 41531, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7551:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7542:10:18" - }, - "loopExpression": { - "expression": { - "id": 41539, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7565:3:18", - "subExpression": { - "id": 41538, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41530, - "src": "7565:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41540, - "nodeType": "ExpressionStatement", - "src": "7565:3:18" - }, - "nodeType": "ForStatement", - "src": "7537:238:18" - }, - { - "assignments": [ - 41594 - ], - "declarations": [ - { - "constant": false, - "id": 41594, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "7800:9:18", - "nodeType": "VariableDeclaration", - "scope": 41632, - "src": "7779:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41592, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41591, - "name": "Suave.BidId", - "nameLocations": [ - "7779:5:18", - "7785:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7779:11:18" - }, - "referencedDeclaration": 39311, - "src": "7779:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41593, - "nodeType": "ArrayTypeName", - "src": "7779:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41602, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41599, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41375, - "src": "7830:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7838:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7830:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "7812:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41596, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41595, - "name": "Suave.BidId", - "nameLocations": [ - "7816:5:18", - "7822:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "7816:11:18" - }, - "referencedDeclaration": 39311, - "src": "7816:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41597, - "nodeType": "ArrayTypeName", - "src": "7816:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7812:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7779:66:18" - }, - { - "body": { - "id": 41623, - "nodeType": "Block", - "src": "7893:43:18", - "statements": [ - { - "expression": { - "id": 41621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41614, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7898:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41616, - "indexExpression": { - "id": 41615, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7908:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "7898:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41617, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41619, - "indexExpression": { - "id": 41618, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7923:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7913:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41620, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7926:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "7913:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "7898:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41622, - "nodeType": "ExpressionStatement", - "src": "7898:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41607, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7866:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41608, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41469, - "src": "7870:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "7880:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "7870:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7866:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41624, - "initializationExpression": { - "assignments": [ - 41604 - ], - "declarations": [ - { - "constant": false, - "id": 41604, - "mutability": "mutable", - "name": "i", - "nameLocation": "7859:1:18", - "nodeType": "VariableDeclaration", - "scope": 41624, - "src": "7854:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41603, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7854:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41606, - "initialValue": { - "hexValue": "30", - "id": 41605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7863:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "7854:10:18" - }, - "loopExpression": { - "expression": { - "id": 41612, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "7888:3:18", - "subExpression": { - "id": 41611, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41604, - "src": "7888:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41613, - "nodeType": "ExpressionStatement", - "src": "7888:3:18" - }, - "nodeType": "ForStatement", - "src": "7849:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41626, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41317, - "src": "7960:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41627, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41319, - "src": "7971:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41628, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41594, - "src": "7984:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "6d657673686172653a7630", - "id": 41629, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7995:13:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - }, - "value": "mevshare:v0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_35b2d32dc9eff4c63347931c334eee7d5a4e9b7d86e306a0f6d71fb8fa7b39ba", - "typeString": "literal_string \"mevshare:v0\"" - } - ], - "id": 41625, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "7947:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41630, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "7947:62:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41323, - "id": 41631, - "nodeType": "Return", - "src": "7940:69:18" - } - ] - }, - "functionSelector": "54dfbd39", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildMevShare", - "nameLocation": "6008:13:18", - "parameters": { - "id": 41320, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41317, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "6050:9:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6022:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41316, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41315, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "6022:5:18", - "6028:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "6022:20:18" - }, - "referencedDeclaration": 39347, - "src": "6022:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41319, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "6068:11:18", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6061:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41318, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "6061:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "6021:59:18" - }, - "returnParameters": { - "id": 41323, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41322, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41633, - "src": "6097:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41321, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "6097:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "6096:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41845, - "nodeType": "FunctionDefinition", - "src": "8016:1186:18", - "nodes": [], - "body": { - "id": 41844, - "nodeType": "Block", - "src": "8128:1074:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41644, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8140:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8146:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "8140:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8140:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41643, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "8132:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8132:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41648, - "nodeType": "ExpressionStatement", - "src": "8132:31:18" - }, - { - "assignments": [ - 41654 - ], - "declarations": [ - { - "constant": false, - "id": 41654, - "mutability": "mutable", - "name": "allBids", - "nameLocation": "8187:7:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8168:26:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 41652, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41651, - "name": "Suave.Bid", - "nameLocations": [ - "8168:5:18", - "8174:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "8168:9:18" - }, - "referencedDeclaration": 39328, - "src": "8168:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 41653, - "nodeType": "ArrayTypeName", - "src": "8168:11:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 41660, - "initialValue": { - "arguments": [ - { - "id": 41657, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "8213:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 41658, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8226:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 41655, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8197:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41656, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8203:9:18", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 39687, - "src": "8197:15:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 41659, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8197:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8168:82:18" - }, - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41664, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "id": 41661, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8258:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41662, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8266:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8258:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "hexValue": "30", - "id": 41663, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8276:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8258:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41676, - "nodeType": "IfStatement", - "src": "8254:88:18", - "trueBody": { - "id": 41675, - "nodeType": "Block", - "src": "8279:63:18", - "statements": [ - { - "errorCall": { - "arguments": [ - { - "arguments": [ - { - "id": 41670, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "8320:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41669, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8312:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41668, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8312:7:18", - "typeDescriptions": {} - } - }, - "id": 41671, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8312:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "hexValue": "6e6f2062696473", - "id": 41672, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8327:9:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - }, - "value": "no bids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_stringliteral_70370a900b4681fa71d511f15bdb6e6f692e99046617717b8312a334878a0693", - "typeString": "literal_string \"no bids\"" - } - ], - "expression": { - "id": 41665, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8291:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41667, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8297:14:18", - "memberName": "PeekerReverted", - "nodeType": "MemberAccess", - "referencedDeclaration": 39309, - "src": "8291:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,bytes memory) pure" - } - }, - "id": 41673, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8291:46:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41674, - "nodeType": "RevertStatement", - "src": "8284:53:18" - } - ] - } - }, - { - "assignments": [ - 41681 - ], - "declarations": [ - { - "constant": false, - "id": 41681, - "mutability": "mutable", - "name": "bidsByEGP", - "nameLocation": "8366:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8346:29:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair[]" - }, - "typeName": { - "baseType": { - "id": 41679, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41678, - "name": "EgpBidPair", - "nameLocations": [ - "8346:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8346:10:18" - }, - "referencedDeclaration": 41250, - "src": "8346:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41680, - "nodeType": "ArrayTypeName", - "src": "8346:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - }, - "visibility": "internal" - } - ], - "id": 41689, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41686, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8395:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41687, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8403:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8395:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "8378:16:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (struct EgpBidPair memory[] memory)" - }, - "typeName": { - "baseType": { - "id": 41683, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41682, - "name": "EgpBidPair", - "nameLocations": [ - "8382:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8382:10:18" - }, - "referencedDeclaration": 41250, - "src": "8382:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "id": 41684, - "nodeType": "ArrayTypeName", - "src": "8382:12:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_storage_$dyn_storage_ptr", - "typeString": "struct EgpBidPair[]" - } - } - }, - "id": 41688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8378:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8346:64:18" - }, - { - "body": { - "id": 41734, - "nodeType": "Block", - "src": "8456:216:18", - "statements": [ - { - "assignments": [ - 41702 - ], - "declarations": [ - { - "constant": false, - "id": 41702, - "mutability": "mutable", - "name": "simResults", - "nameLocation": "8474:10:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8461:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41701, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8461:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41711, - "initialValue": { - "arguments": [ - { - "expression": { - "baseExpression": { - "id": 41705, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8519:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41707, - "indexExpression": { - "id": 41706, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8527:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8519:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41708, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8530:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8519:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6553696d526573756c7473", - "id": 41709, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8534:32:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - }, - "value": "default:v0:ethBundleSimResults" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_d16e659e07816961a96ab19141e1534a97f647e037c52671020c35f966611136", - "typeString": "literal_string \"default:v0:ethBundleSimResults\"" - } - ], - "expression": { - "id": 41703, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "8487:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8493:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "8487:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 41710, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8487:80:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8461:106:18" - }, - { - "assignments": [ - 41713 - ], - "declarations": [ - { - "constant": false, - "id": 41713, - "mutability": "mutable", - "name": "egp", - "nameLocation": "8579:3:18", - "nodeType": "VariableDeclaration", - "scope": 41734, - "src": "8572:10:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41712, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8572:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "id": 41721, - "initialValue": { - "arguments": [ - { - "id": 41716, - "name": "simResults", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41702, - "src": "8596:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 41718, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "8609:6:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 41717, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8609:6:18", - "typeDescriptions": {} - } - } - ], - "id": 41719, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "8608:8:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 41714, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "8585:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "8589:6:18", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "8585:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 41720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8585:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8572:45:18" - }, - { - "expression": { - "id": 41732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41722, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8622:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41724, - "indexExpression": { - "id": 41723, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8632:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8622:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41726, - "name": "egp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41713, - "src": "8648:3:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "baseExpression": { - "id": 41727, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8653:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41729, - "indexExpression": { - "id": 41728, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8661:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8653:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41730, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8664:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "8653:13:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - ], - "id": 41725, - "name": "EgpBidPair", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41250, - "src": "8637:10:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_EgpBidPair_$41250_storage_ptr_$", - "typeString": "type(struct EgpBidPair storage pointer)" - } - }, - "id": 41731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "structConstructorCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "8637:30:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8622:45:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41733, - "nodeType": "ExpressionStatement", - "src": "8622:45:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41697, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41694, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8431:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41695, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "8435:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41696, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8443:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8435:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8431:18:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41735, - "initializationExpression": { - "assignments": [ - 41691 - ], - "declarations": [ - { - "constant": false, - "id": 41691, - "mutability": "mutable", - "name": "i", - "nameLocation": "8424:1:18", - "nodeType": "VariableDeclaration", - "scope": 41735, - "src": "8419:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41690, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8419:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41693, - "initialValue": { - "hexValue": "30", - "id": 41692, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8428:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8419:10:18" - }, - "loopExpression": { - "expression": { - "id": 41699, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8451:3:18", - "subExpression": { - "id": 41698, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41691, - "src": "8451:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41700, - "nodeType": "ExpressionStatement", - "src": "8451:3:18" - }, - "nodeType": "ForStatement", - "src": "8414:258:18" - }, - { - "assignments": [ - 41737 - ], - "declarations": [ - { - "constant": false, - "id": 41737, - "mutability": "mutable", - "name": "n", - "nameLocation": "8713:1:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8708:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41736, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8708:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41740, - "initialValue": { - "expression": { - "id": 41738, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8717:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8727:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "8717:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8708:25:18" - }, - { - "body": { - "id": 41799, - "nodeType": "Block", - "src": "8770:205:18", - "statements": [ - { - "body": { - "id": 41797, - "nodeType": "Block", - "src": "8808:163:18", - "statements": [ - { - "condition": { - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 41773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 41765, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8818:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41767, - "indexExpression": { - "id": 41766, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8828:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41768, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8831:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8818:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 41769, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8837:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41771, - "indexExpression": { - "id": 41770, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8847:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8837:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41772, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "8850:3:18", - "memberName": "egp", - "nodeType": "MemberAccess", - "referencedDeclaration": 41246, - "src": "8837:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "8818:35:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41796, - "nodeType": "IfStatement", - "src": "8814:152:18", - "trueBody": { - "id": 41795, - "nodeType": "Block", - "src": "8855:111:18", - "statements": [ - { - "assignments": [ - 41776 - ], - "declarations": [ - { - "constant": false, - "id": 41776, - "mutability": "mutable", - "name": "temp", - "nameLocation": "8880:4:18", - "nodeType": "VariableDeclaration", - "scope": 41795, - "src": "8862:22:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair" - }, - "typeName": { - "id": 41775, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41774, - "name": "EgpBidPair", - "nameLocations": [ - "8862:10:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 41250, - "src": "8862:10:18" - }, - "referencedDeclaration": 41250, - "src": "8862:10:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_storage_ptr", - "typeString": "struct EgpBidPair" - } - }, - "visibility": "internal" - } - ], - "id": 41780, - "initialValue": { - "baseExpression": { - "id": 41777, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8887:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41779, - "indexExpression": { - "id": 41778, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8897:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8887:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8862:37:18" - }, - { - "expression": { - "id": 41787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41781, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8906:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41783, - "indexExpression": { - "id": 41782, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8916:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8906:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "baseExpression": { - "id": 41784, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8921:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41786, - "indexExpression": { - "id": 41785, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8931:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8921:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8906:27:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41788, - "nodeType": "ExpressionStatement", - "src": "8906:27:18" - }, - { - "expression": { - "id": 41793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41789, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "8940:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41791, - "indexExpression": { - "id": 41790, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8950:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "8940:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 41792, - "name": "temp", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41776, - "src": "8955:4:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "src": "8940:19:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41794, - "nodeType": "ExpressionStatement", - "src": "8940:19:18" - } - ] - } - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41759, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8796:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "id": 41760, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8800:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8796:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41798, - "initializationExpression": { - "assignments": [ - 41754 - ], - "declarations": [ - { - "constant": false, - "id": 41754, - "mutability": "mutable", - "name": "j", - "nameLocation": "8785:1:18", - "nodeType": "VariableDeclaration", - "scope": 41798, - "src": "8780:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41753, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8780:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41758, - "initialValue": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41755, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8789:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "hexValue": "31", - "id": 41756, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8793:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8789:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8780:14:18" - }, - "loopExpression": { - "expression": { - "id": 41763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8803:3:18", - "subExpression": { - "id": 41762, - "name": "j", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41754, - "src": "8803:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41764, - "nodeType": "ExpressionStatement", - "src": "8803:3:18" - }, - "nodeType": "ForStatement", - "src": "8775:196:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41749, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41745, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8754:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41748, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41746, - "name": "n", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41737, - "src": "8758:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "hexValue": "31", - "id": 41747, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8762:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "8758:5:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8754:9:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41800, - "initializationExpression": { - "assignments": [ - 41742 - ], - "declarations": [ - { - "constant": false, - "id": 41742, - "mutability": "mutable", - "name": "i", - "nameLocation": "8747:1:18", - "nodeType": "VariableDeclaration", - "scope": 41800, - "src": "8742:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41741, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8742:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41744, - "initialValue": { - "hexValue": "30", - "id": 41743, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8751:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "8742:10:18" - }, - "loopExpression": { - "expression": { - "id": 41751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "8765:3:18", - "subExpression": { - "id": 41750, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41742, - "src": "8765:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41752, - "nodeType": "ExpressionStatement", - "src": "8765:3:18" - }, - "nodeType": "ForStatement", - "src": "8737:238:18" - }, - { - "assignments": [ - 41806 - ], - "declarations": [ - { - "constant": false, - "id": 41806, - "mutability": "mutable", - "name": "allBidIds", - "nameLocation": "9000:9:18", - "nodeType": "VariableDeclaration", - "scope": 41844, - "src": "8979:30:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41804, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41803, - "name": "Suave.BidId", - "nameLocations": [ - "8979:5:18", - "8985:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "8979:11:18" - }, - "referencedDeclaration": 39311, - "src": "8979:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41805, - "nodeType": "ArrayTypeName", - "src": "8979:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - } - ], - "id": 41814, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 41811, - "name": "allBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41654, - "src": "9030:7:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 41812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9038:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9030:14:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 41810, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9012:17:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (Suave.BidId[] memory)" - }, - "typeName": { - "baseType": { - "id": 41808, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41807, - "name": "Suave.BidId", - "nameLocations": [ - "9016:5:18", - "9022:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9016:11:18" - }, - "referencedDeclaration": 39311, - "src": "9016:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41809, - "nodeType": "ArrayTypeName", - "src": "9016:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - } - }, - "id": 41813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9012:33:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8979:66:18" - }, - { - "body": { - "id": 41835, - "nodeType": "Block", - "src": "9093:43:18", - "statements": [ - { - "expression": { - "id": 41833, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41826, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9098:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - "id": 41828, - "indexExpression": { - "id": 41827, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9108:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9098:12:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "baseExpression": { - "id": 41829, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9113:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41831, - "indexExpression": { - "id": 41830, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9123:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9113:12:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_EgpBidPair_$41250_memory_ptr", - "typeString": "struct EgpBidPair memory" - } - }, - "id": 41832, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9126:5:18", - "memberName": "bidId", - "nodeType": "MemberAccess", - "referencedDeclaration": 41249, - "src": "9113:18:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "src": "9098:33:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41834, - "nodeType": "ExpressionStatement", - "src": "9098:33:18" - } - ] - }, - "condition": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 41822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 41819, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9066:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "expression": { - "id": 41820, - "name": "bidsByEGP", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41681, - "src": "9070:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_EgpBidPair_$41250_memory_ptr_$dyn_memory_ptr", - "typeString": "struct EgpBidPair memory[] memory" - } - }, - "id": 41821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9080:6:18", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "9070:16:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9066:20:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 41836, - "initializationExpression": { - "assignments": [ - 41816 - ], - "declarations": [ - { - "constant": false, - "id": 41816, - "mutability": "mutable", - "name": "i", - "nameLocation": "9059:1:18", - "nodeType": "VariableDeclaration", - "scope": 41836, - "src": "9054:6:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 41815, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9054:4:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 41818, - "initialValue": { - "hexValue": "30", - "id": 41817, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9063:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9054:10:18" - }, - "loopExpression": { - "expression": { - "id": 41824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9088:3:18", - "subExpression": { - "id": 41823, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41816, - "src": "9088:1:18", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 41825, - "nodeType": "ExpressionStatement", - "src": "9088:3:18" - }, - "nodeType": "ForStatement", - "src": "9049:87:18" - }, - { - "expression": { - "arguments": [ - { - "id": 41838, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41636, - "src": "9160:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41839, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41638, - "src": "9171:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41840, - "name": "allBidIds", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41806, - "src": "9184:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "hexValue": "", - "id": 41841, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9195:2:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - } - ], - "id": 41837, - "name": "buildAndEmit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41911, - "src": "9147:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) returns (bytes memory)" - } - }, - "id": 41842, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9147:51:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41642, - "id": 41843, - "nodeType": "Return", - "src": "9140:58:18" - } - ] - }, - "functionSelector": "ebb89de4", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildFromPool", - "nameLocation": "8025:13:18", - "parameters": { - "id": 41639, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41636, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "8067:9:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8039:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41635, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41634, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "8039:5:18", - "8045:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "8039:20:18" - }, - "referencedDeclaration": 39347, - "src": "8039:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41638, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "8085:11:18", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8078:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41637, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "8078:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - } - ], - "src": "8038:59:18" - }, - "returnParameters": { - "id": 41642, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41641, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41845, - "src": "8114:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41640, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "8113:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 41911, - "nodeType": "FunctionDefinition", - "src": "9205:556:18", - "nodes": [], - "body": { - "id": 41910, - "nodeType": "Block", - "src": "9376:385:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 41862, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "9388:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9394:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "9388:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 41864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9388:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 41861, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "9380:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 41865, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9380:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41866, - "nodeType": "ExpressionStatement", - "src": "9380:31:18" - }, - { - "assignments": [ - 41871, - 41873 - ], - "declarations": [ - { - "constant": false, - "id": 41871, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "9434:8:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9417:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41870, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41869, - "name": "Suave.Bid", - "nameLocations": [ - "9417:5:18", - "9423:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9417:9:18" - }, - "referencedDeclaration": 39328, - "src": "9417:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41873, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "9457:10:18", - "nodeType": "VariableDeclaration", - "scope": 41910, - "src": "9444:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41872, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9444:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41881, - "initialValue": { - "arguments": [ - { - "id": 41876, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41848, - "src": "9484:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 41877, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41850, - "src": "9495:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41878, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41854, - "src": "9508:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 41879, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41856, - "src": "9514:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41874, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9471:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41875, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9476:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "9471:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41880, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9471:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9416:108:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41883, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9555:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41884, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9564:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9555:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41885, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9568:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 41882, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "9534:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 41886, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9534:45:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41887, - "nodeType": "EmitStatement", - "src": "9529:50:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 41889, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9597:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41890, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9606:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "9597:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 41891, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9610:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41892, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9619:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "9610:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 41893, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9640:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41894, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9649:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "9640:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 41888, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "9588:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 41895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9588:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41896, - "nodeType": "EmitStatement", - "src": "9583:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 41900, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "9688:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - }, - "id": 41901, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9693:20:18", - "memberName": "emitBuilderBidAndBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 42041, - "src": "9688:25:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.Bid memory,bytes memory) external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 41902, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9714:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "9688:34:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 41905, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41871, - "src": "9735:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 41906, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41873, - "src": "9745:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41903, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "9724:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41904, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "9728:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "9724:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9724:32:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41898, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9675:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 41897, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9675:5:18", - "typeDescriptions": {} - } - }, - "id": 41899, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "9681:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "9675:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41908, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9675:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 41860, - "id": 41909, - "nodeType": "Return", - "src": "9668:89:18" - } - ] - }, - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "9214:12:18", - "parameters": { - "id": 41857, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41848, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9255:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9227:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41847, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41846, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9227:5:18", - "9233:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9227:20:18" - }, - "referencedDeclaration": 39347, - "src": "9227:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41850, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9273:11:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9266:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41849, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9266:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41854, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9307:4:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9286:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41852, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41851, - "name": "Suave.BidId", - "nameLocations": [ - "9286:5:18", - "9292:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9286:11:18" - }, - "referencedDeclaration": 39311, - "src": "9286:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41853, - "nodeType": "ArrayTypeName", - "src": "9286:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41856, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9327:9:18", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9313:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41855, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9313:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9226:111:18" - }, - "returnParameters": { - "id": 41860, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41859, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 41911, - "src": "9362:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41858, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9362:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9361:14:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - }, - { - "id": 42008, - "nodeType": "FunctionDefinition", - "src": "9764:781:18", - "nodes": [], - "body": { - "id": 42007, - "nodeType": "Block", - "src": "9945:600:18", - "nodes": [], - "statements": [ - { - "assignments": [ - 41934 - ], - "declarations": [ - { - "constant": false, - "id": 41934, - "mutability": "mutable", - "name": "allowedPeekers", - "nameLocation": "9966:14:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "9949:31:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 41932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9949:7:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41933, - "nodeType": "ArrayTypeName", - "src": "9949:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "visibility": "internal" - } - ], - "id": 41940, - "initialValue": { - "arguments": [ - { - "hexValue": "32", - "id": 41938, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9997:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "id": 41937, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "9983:13:18", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$", - "typeString": "function (uint256) pure returns (address[] memory)" - }, - "typeName": { - "baseType": { - "id": 41935, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9987:7:18", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41936, - "nodeType": "ArrayTypeName", - "src": "9987:9:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - } - }, - "id": 41939, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "9983:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9949:50:18" - }, - { - "expression": { - "id": 41948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41941, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10003:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41943, - "indexExpression": { - "hexValue": "30", - "id": 41942, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10018:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10003:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "arguments": [ - { - "id": 41946, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "10031:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EthBlockBidContract_$42069", - "typeString": "contract EthBlockBidContract" - } - ], - "id": 41945, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10023:7:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": { - "id": 41944, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10023:7:18", - "typeDescriptions": {} - } - }, - "id": 41947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10023:13:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10003:33:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41949, - "nodeType": "ExpressionStatement", - "src": "10003:33:18" - }, - { - "expression": { - "id": 41955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "baseExpression": { - "id": 41950, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10040:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - "id": 41952, - "indexExpression": { - "hexValue": "31", - "id": 41951, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10055:1:18", - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10040:17:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "expression": { - "id": 41953, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10060:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41954, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10066:15:18", - "memberName": "BUILD_ETH_BLOCK", - "nodeType": "MemberAccess", - "referencedDeclaration": 39362, - "src": "10060:21:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10040:41:18", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 41956, - "nodeType": "ExpressionStatement", - "src": "10040:41:18" - }, - { - "assignments": [ - 41961 - ], - "declarations": [ - { - "constant": false, - "id": 41961, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "10103:8:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10086:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41960, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41959, - "name": "Suave.Bid", - "nameLocations": [ - "10086:5:18", - "10092:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10086:9:18" - }, - "referencedDeclaration": 39328, - "src": "10086:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 41969, - "initialValue": { - "arguments": [ - { - "id": 41964, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41916, - "src": "10127:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 41965, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10140:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "id": 41966, - "name": "allowedPeekers", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41934, - "src": "10156:14:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41967, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10172:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - } - ], - "expression": { - "id": 41962, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10114:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10120:6:18", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 39772, - "src": "10114:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 41968, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10114:82:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10086:110:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41973, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10229:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41974, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10238:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10229:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6d657267656442696473", - "id": 41975, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10242:23:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - "value": "default:v0:mergedBids" - }, - { - "arguments": [ - { - "id": 41978, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41920, - "src": "10278:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - ], - "expression": { - "id": 41976, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "10267:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 41977, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "10271:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "10267:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 41979, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10267:16:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_273954361ef232596be0d9ac8638ceefe281e9a42afb7ad285d695fbdffc80b3", - "typeString": "literal_string \"default:v0:mergedBids\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41970, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10200:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41972, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10206:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10200:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 41980, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10200:84:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 41981, - "nodeType": "ExpressionStatement", - "src": "10200:84:18" - }, - { - "assignments": [ - 41983, - 41985 - ], - "declarations": [ - { - "constant": false, - "id": 41983, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10306:10:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10293:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41982, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10293:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41985, - "mutability": "mutable", - "name": "payload", - "nameLocation": "10331:7:18", - "nodeType": "VariableDeclaration", - "scope": 42007, - "src": "10318:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41984, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10318:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 41993, - "initialValue": { - "arguments": [ - { - "id": 41988, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41914, - "src": "10362:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "expression": { - "id": 41989, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10373:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41990, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10382:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10373:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 41991, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41922, - "src": "10386:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 41986, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10342:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41987, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10348:13:18", - "memberName": "buildEthBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 39472, - "src": "10342:19:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,Suave.BidId,string memory) view returns (bytes memory,bytes memory)" - } - }, - "id": 41992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10342:54:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(bytes memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "10292:104:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 41997, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10429:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 41998, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10438:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10429:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 41999, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10442:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - }, - { - "id": 42000, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41985, - "src": "10471:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 41994, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10400:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 41996, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10406:22:18", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 39569, - "src": "10400:28:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 42001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10400:79:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42002, - "nodeType": "ExpressionStatement", - "src": "10400:79:18" - }, - { - "expression": { - "components": [ - { - "id": 42003, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41961, - "src": "10520:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42004, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41983, - "src": "10530:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42005, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10519:22:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 41929, - "id": 42006, - "nodeType": "Return", - "src": "10512:29:18" - } - ] - }, - "functionSelector": "c2eceb11", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doBuild", - "nameLocation": "9773:7:18", - "parameters": { - "id": 41923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41914, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "9809:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9781:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 41913, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41912, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "9781:5:18", - "9787:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "9781:20:18" - }, - "referencedDeclaration": 39347, - "src": "9781:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41916, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "9827:11:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9820:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 41915, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "9820:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41920, - "mutability": "mutable", - "name": "bids", - "nameLocation": "9861:4:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9840:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 41918, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41917, - "name": "Suave.BidId", - "nameLocations": [ - "9840:5:18", - "9846:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "9840:11:18" - }, - "referencedDeclaration": 39311, - "src": "9840:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 41919, - "nodeType": "ArrayTypeName", - "src": "9840:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41922, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "9881:9:18", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9867:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 41921, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "9867:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "9780:111:18" - }, - "returnParameters": { - "id": 41929, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 41926, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9913:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 41925, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 41924, - "name": "Suave.Bid", - "nameLocations": [ - "9913:5:18", - "9919:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "9913:9:18" - }, - "referencedDeclaration": 39328, - "src": "9913:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 41928, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42008, - "src": "9931:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 41927, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "9931:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "9912:32:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - }, - { - "id": 42041, - "nodeType": "FunctionDefinition", - "src": "10548:276:18", - "nodes": [], - "body": { - "id": 42040, - "nodeType": "Block", - "src": "10673:151:18", - "nodes": [], - "statements": [ - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42022, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10703:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42023, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10707:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10703:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "id": 42024, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10711:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 42021, - "name": "BuilderBoostBidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 41259, - "src": "10682:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,bytes memory)" - } - }, - "id": 42025, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10682:40:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42026, - "nodeType": "EmitStatement", - "src": "10677:45:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42028, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10740:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42029, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10744:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "10740:6:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42030, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10748:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42031, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10752:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "10748:23:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42032, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10773:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42033, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10777:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "10773:18:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42027, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "10731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42034, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10731:61:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42035, - "nodeType": "EmitStatement", - "src": "10726:66:18" - }, - { - "expression": { - "components": [ - { - "id": 42036, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42011, - "src": "10804:3:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - { - "id": 42037, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42013, - "src": "10809:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "id": 42038, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "10803:17:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "functionReturnParameters": 42020, - "id": 42039, - "nodeType": "Return", - "src": "10796:24:18" - } - ] - }, - "functionSelector": "b33e4715", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "emitBuilderBidAndBid", - "nameLocation": "10557:20:18", - "parameters": { - "id": 42014, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42011, - "mutability": "mutable", - "name": "bid", - "nameLocation": "10595:3:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10578:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42010, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42009, - "name": "Suave.Bid", - "nameLocations": [ - "10578:5:18", - "10584:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10578:9:18" - }, - "referencedDeclaration": 39328, - "src": "10578:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42013, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "10613:10:18", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10600:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42012, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10600:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10577:47:18" - }, - "returnParameters": { - "id": 42020, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42017, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10641:16:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42016, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42015, - "name": "Suave.Bid", - "nameLocations": [ - "10641:5:18", - "10647:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "10641:9:18" - }, - "referencedDeclaration": 39328, - "src": "10641:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42019, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42041, - "src": "10659:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42018, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10659:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10640:32:18" - }, - "scope": 42069, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42068, - "nodeType": "FunctionDefinition", - "src": "10827:333:18", - "nodes": [], - "body": { - "id": 42067, - "nodeType": "Block", - "src": "10931:229:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42052, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "10943:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "10949:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "10943:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10943:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "10935:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42055, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "10935:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42056, - "nodeType": "ExpressionStatement", - "src": "10935:31:18" - }, - { - "assignments": [ - 42058 - ], - "declarations": [ - { - "constant": false, - "id": 42058, - "mutability": "mutable", - "name": "payload", - "nameLocation": "11061:7:18", - "nodeType": "VariableDeclaration", - "scope": 42067, - "src": "11048:20:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42057, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11048:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42064, - "initialValue": { - "arguments": [ - { - "id": 42061, - "name": "bidId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42044, - "src": "11103:5:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "64656661756c743a76303a6275696c6465725061796c6f6164", - "id": 42062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11110:27:18", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - }, - "value": "default:v0:builderPayload" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_5da5fe0d270e5b7bda23a9e633bf556fe809cb4fd1a63490e99c0b642cec2745", - "typeString": "literal_string \"default:v0:builderPayload\"" - } - ], - "expression": { - "id": 42059, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11071:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11077:25:18", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 39535, - "src": "11071:31:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 42063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11071:67:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11048:90:18" - }, - { - "expression": { - "id": 42065, - "name": "payload", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42058, - "src": "11149:7:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42050, - "id": 42066, - "nodeType": "Return", - "src": "11142:14:18" - } - ] - }, - "functionSelector": "7df1cde2", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "unlock", - "nameLocation": "10836:6:18", - "parameters": { - "id": 42047, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42044, - "mutability": "mutable", - "name": "bidId", - "nameLocation": "10855:5:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10843:17:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - "typeName": { - "id": 42043, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42042, - "name": "Suave.BidId", - "nameLocations": [ - "10843:5:18", - "10849:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "10843:11:18" - }, - "referencedDeclaration": 39311, - "src": "10843:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42046, - "mutability": "mutable", - "name": "signedBlindedHeader", - "nameLocation": "10875:19:18", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10862:32:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42045, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10862:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10842:53:18" - }, - "returnParameters": { - "id": 42050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42049, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42068, - "src": "10917:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42048, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10917:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "10916:14:18" - }, - "scope": 42069, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 41251, - "name": "AnyBidContract", - "nameLocations": [ - "5626:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 40712, - "src": "5626:14:18" - }, - "id": 41252, - "nodeType": "InheritanceSpecifier", - "src": "5626:14:18" - } - ], - "canonicalName": "EthBlockBidContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42069, - 40712 - ], - "name": "EthBlockBidContract", - "nameLocation": "5603:19:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42151, - "nodeType": "ContractDefinition", - "src": "11164:717:18", - "nodes": [ - { - "id": 42073, - "nodeType": "VariableDeclaration", - "src": "11225:20:18", - "nodes": [], - "constant": false, - "mutability": "mutable", - "name": "boostRelayUrl", - "nameLocation": "11232:13:18", - "scope": 42151, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 42072, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11225:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - }, - { - "id": 42083, - "nodeType": "FunctionDefinition", - "src": "11249:80:18", - "nodes": [], - "body": { - "id": 42082, - "nodeType": "Block", - "src": "11291:38:18", - "nodes": [], - "statements": [ - { - "expression": { - "id": 42080, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "id": 42078, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11295:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "id": 42079, - "name": "boostRelayUrl_", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42075, - "src": "11311:14:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "11295:30:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 42081, - "nodeType": "ExpressionStatement", - "src": "11295:30:18" - } - ] - }, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nameLocation": "-1:-1:-1", - "parameters": { - "id": 42076, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42075, - "mutability": "mutable", - "name": "boostRelayUrl_", - "nameLocation": "11275:14:18", - "nodeType": "VariableDeclaration", - "scope": 42083, - "src": "11261:28:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42074, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11261:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11260:30:18" - }, - "returnParameters": { - "id": 42077, - "nodeType": "ParameterList", - "parameters": [], - "src": "11291:0:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - }, - { - "id": 42150, - "nodeType": "FunctionDefinition", - "src": "11332:547:18", - "nodes": [], - "body": { - "id": 42149, - "nodeType": "Block", - "src": "11512:367:18", - "nodes": [], - "statements": [ - { - "expression": { - "arguments": [ - { - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "id": 42101, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11524:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42102, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11530:14:18", - "memberName": "isConfidential", - "nodeType": "MemberAccess", - "referencedDeclaration": 39423, - "src": "11524:20:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", - "typeString": "function () view returns (bool)" - } - }, - "id": 42103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11524:22:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "11516:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42104, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11516:31:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42105, - "nodeType": "ExpressionStatement", - "src": "11516:31:18" - }, - { - "assignments": [ - 42110, - 42112 - ], - "declarations": [ - { - "constant": false, - "id": 42110, - "mutability": "mutable", - "name": "blockBid", - "nameLocation": "11570:8:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11553:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 42109, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42108, - "name": "Suave.Bid", - "nameLocations": [ - "11553:5:18", - "11559:3:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "11553:9:18" - }, - "referencedDeclaration": 39328, - "src": "11553:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42112, - "mutability": "mutable", - "name": "builderBid", - "nameLocation": "11593:10:18", - "nodeType": "VariableDeclaration", - "scope": 42149, - "src": "11580:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42111, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11580:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42120, - "initialValue": { - "arguments": [ - { - "id": 42115, - "name": "blockArgs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42086, - "src": "11620:9:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - } - }, - { - "id": 42116, - "name": "blockHeight", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42088, - "src": "11631:11:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "id": 42117, - "name": "bids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42092, - "src": "11644:4:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - } - }, - { - "id": 42118, - "name": "namespace", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42094, - "src": "11650:9:18", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs memory" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[] memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "expression": { - "id": 42113, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11607:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11612:7:18", - "memberName": "doBuild", - "nodeType": "MemberAccess", - "referencedDeclaration": 42008, - "src": "11607:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_struct$_BuildBlockArgs_$39347_memory_ptr_$_t_uint64_$_t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "function (struct Suave.BuildBlockArgs memory,uint64,Suave.BidId[] memory,string memory) view external returns (struct Suave.Bid memory,bytes memory)" - } - }, - "id": 42119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11607:53:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_struct$_Bid_$39328_memory_ptr_$_t_bytes_memory_ptr_$", - "typeString": "tuple(struct Suave.Bid memory,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11552:108:18" - }, - { - "expression": { - "arguments": [ - { - "id": 42124, - "name": "boostRelayUrl", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42073, - "src": "11695:13:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "id": 42125, - "name": "builderBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42112, - "src": "11710:10:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42121, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "11664:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11670:24:18", - "memberName": "submitEthBlockBidToRelay", - "nodeType": "MemberAccess", - "referencedDeclaration": 39933, - "src": "11664:30:18", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory,bytes memory) view returns (bytes memory)" - } - }, - "id": 42126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11664:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 42127, - "nodeType": "ExpressionStatement", - "src": "11664:57:18" - }, - { - "eventCall": { - "arguments": [ - { - "expression": { - "id": 42129, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11740:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42130, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11749:2:18", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "11740:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "expression": { - "id": 42131, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11753:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42132, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11762:19:18", - "memberName": "decryptionCondition", - "nodeType": "MemberAccess", - "referencedDeclaration": 39319, - "src": "11753:28:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - { - "expression": { - "id": 42133, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11783:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 42134, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11792:14:18", - "memberName": "allowedPeekers", - "nodeType": "MemberAccess", - "referencedDeclaration": 39322, - "src": "11783:23:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[] memory" - } - ], - "id": 42128, - "name": "BidEvent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40669, - "src": "11731:8:18", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_userDefinedValueType$_BidId_$39311_$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,uint64,address[] memory)" - } - }, - "id": 42135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11731:76:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42136, - "nodeType": "EmitStatement", - "src": "11726:81:18" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "expression": { - "id": 42140, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -28, - "src": "11831:4:18", - "typeDescriptions": { - "typeIdentifier": "t_contract$_EthBlockBidSenderContract_$42151", - "typeString": "contract EthBlockBidSenderContract" - } - }, - "id": 42141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11836:7:18", - "memberName": "emitBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40711, - "src": "11831:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_struct$_Bid_$39328_memory_ptr_$returns$__$", - "typeString": "function (struct Suave.Bid memory) external" - } - }, - "id": 42142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11844:8:18", - "memberName": "selector", - "nodeType": "MemberAccess", - "src": "11831:21:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "arguments": [ - { - "id": 42145, - "name": "blockBid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42110, - "src": "11865:8:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - ], - "expression": { - "id": 42143, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "11854:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "11858:6:18", - "memberName": "encode", - "nodeType": "MemberAccess", - "src": "11854:10:18", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11854:20:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42138, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11818:5:18", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": { - "id": 42137, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11818:5:18", - "typeDescriptions": {} - } - }, - "id": 42139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "11824:6:18", - "memberName": "concat", - "nodeType": "MemberAccess", - "src": "11818:12:18", - "typeDescriptions": { - "typeIdentifier": "t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 42147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "11818:57:18", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 42099, - "id": 42148, - "nodeType": "Return", - "src": "11811:64:18" - } - ] - }, - "baseFunctions": [ - 41911 - ], - "functionSelector": "4c8820f8", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buildAndEmit", - "nameLocation": "11341:12:18", - "overrides": { - "id": 42096, - "nodeType": "OverrideSpecifier", - "overrides": [], - "src": "11480:8:18" - }, - "parameters": { - "id": 42095, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42086, - "mutability": "mutable", - "name": "blockArgs", - "nameLocation": "11382:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11354:37:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_memory_ptr", - "typeString": "struct Suave.BuildBlockArgs" - }, - "typeName": { - "id": 42085, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42084, - "name": "Suave.BuildBlockArgs", - "nameLocations": [ - "11354:5:18", - "11360:14:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39347, - "src": "11354:20:18" - }, - "referencedDeclaration": 39347, - "src": "11354:20:18", - "typeDescriptions": { - "typeIdentifier": "t_struct$_BuildBlockArgs_$39347_storage_ptr", - "typeString": "struct Suave.BuildBlockArgs" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42088, - "mutability": "mutable", - "name": "blockHeight", - "nameLocation": "11400:11:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11393:18:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 42087, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "11393:6:18", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42092, - "mutability": "mutable", - "name": "bids", - "nameLocation": "11434:4:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11413:25:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_memory_ptr", - "typeString": "Suave.BidId[]" - }, - "typeName": { - "baseType": { - "id": 42090, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 42089, - "name": "Suave.BidId", - "nameLocations": [ - "11413:5:18", - "11419:5:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39311, - "src": "11413:11:18" - }, - "referencedDeclaration": 39311, - "src": "11413:11:18", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - "id": 42091, - "nodeType": "ArrayTypeName", - "src": "11413:13:18", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_userDefinedValueType$_BidId_$39311_$dyn_storage_ptr", - "typeString": "Suave.BidId[]" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42094, - "mutability": "mutable", - "name": "namespace", - "nameLocation": "11454:9:18", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11440:23:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 42093, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "11440:6:18", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "visibility": "internal" - } - ], - "src": "11353:111:18" - }, - "returnParameters": { - "id": 42099, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42098, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42150, - "src": "11498:12:18", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42097, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "11498:5:18", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "src": "11497:14:18" - }, - "scope": 42151, - "stateMutability": "nonpayable", - "virtual": true, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 42070, - "name": "EthBlockBidContract", - "nameLocations": [ - "11202:19:18" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 42069, - "src": "11202:19:18" - }, - "id": 42071, - "nodeType": "InheritanceSpecifier", - "src": "11202:19:18" - } - ], - "canonicalName": "EthBlockBidSenderContract", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42151, - 42069, - 40712 - ], - "name": "EthBlockBidSenderContract", - "nameLocation": "11173:25:18", - "scope": 42152, - "usedErrors": [ - 39309 - ] - } - ] - }, - "id": 18 -} \ No newline at end of file + "bytecode": { + "object": "0x60806040523480156200001157600080fd5b5060405162001d7a38038062001d7a833981016040819052620000349162000171565b80516200004990600090602084019062000051565b505062000410565b8280548282559060005260206000209081019282156200009c579160200282015b828111156200009c57825182906200008b908262000344565b509160200191906001019062000072565b50620000aa929150620000ae565b5090565b80821115620000aa576000620000c58282620000cf565b50600101620000ae565b508054620000dd90620002b5565b6000825580601f10620000ee575050565b601f0160209004906000526020600020908101906200010e919062000111565b50565b5b80821115620000aa576000815560010162000112565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000169576200016962000128565b604052919050565b600060208083850312156200018557600080fd5b82516001600160401b03808211156200019d57600080fd5b8185019150601f8681840112620001b357600080fd5b825182811115620001c857620001c862000128565b8060051b620001d98682016200013e565b918252848101860191868101908a841115620001f457600080fd5b87870192505b83831015620002a757825186811115620002145760008081fd5b8701603f81018c13620002275760008081fd5b88810151878111156200023e576200023e62000128565b62000251818801601f19168b016200013e565b81815260408e81848601011115620002695760008081fd5b60005b8381101562000289578481018201518382018e01528c016200026c565b505060009181018b01919091528352509187019190870190620001fa565b9a9950505050505050505050565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b0381111562000360576200036062000128565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61195a80620004206000396000f3fe6080604052600436106100555760003560e01c80631141a0b01461005a578063236eb5a71461009057806389026c11146100a357806392f07a58146100c5578063c0b9d287146100da578063d8f55db9146100fa575b600080fd5b34801561006657600080fd5b5061007a610075366004610f00565b61010d565b6040516100879190610f69565b60405180910390f35b61007a61009e3660046110ae565b6101b9565b3480156100af57600080fd5b506100c36100be366004611162565b610401565b005b3480156100d157600080fd5b5061007a61049b565b3480156100e657600080fd5b506100c36100f5366004611203565b6104d4565b61007a61010836600461124d565b610528565b6000818154811061011d57600080fd5b906000526020600020016000915090508054610138906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610164906112d5565b80156101b15780601f10610186576101008083540402835291602001916101b1565b820191906000526020600020905b81548152906001019060200180831161019457829003601f168201915b505050505081565b60606101c361075e565b6101cc57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561020e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102369190810190611339565b90506000610243826107e7565b90506000610250836108ac565b905060006102958888886040518060400160405280601c81526020017f6d657673686172653a76303a756e6d61746368656442756e646c657300000000815250610966565b90506102d48160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c74730060208083019190915282516001600160401b0388169181019190915261033b9392015b604051602081830303815290604052610a63565b60008051602061192e833981519152816000015182604001518360600151604051610368939291906113c5565b60405180910390a180516040517fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda3950916103a29185906113f7565b60405180910390a16040516389026c1160e01b906103c69083908590602001611497565b60408051601f19818403018152908290526103e492916020016114bc565b6040516020818303038152906040529450505050505b9392505050565b60008051602061192e83398151915261041d60208401846114ed565b61042d606085016040860161150a565b61043a6060860186611527565b60405161044a9493929190611577565b60405180910390a17fdab8306bad2ca820d05b9eff8da2e3016d372c15f00bb032f758718b9cda395061048060208401846114ed565b8260405161048f9291906113f7565b60405180910390a15050565b60606104a561075e565b6104ae57600080fd5b60006104b8610b15565b9050808060200190518101906104ce9190611339565b91505090565b60008051602061192e8339815191526104f060208301836114ed565b610500606084016040850161150a565b61050d6060850185611527565b60405161051d9493929190611577565b60405180910390a150565b606061053261075e565b61053b57600080fd5b6000306001600160a01b03166392f07a586040518163ffffffff1660e01b81526004016000604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105a59190810190611339565b905060006105b2826107e7565b905060006105bf836108ac565b905060006105fc898989604051806040016040528060158152602001746d657673686172653a76303a6d617463684269647360581b815250610966565b905061063b8160000151604051806040016040528060168152602001756d657673686172653a76303a65746842756e646c657360501b81525086610a63565b8051604080518082018252601f81527f6d657673686172653a76303a65746842756e646c6553696d526573756c747300602080830191909152825160009181019190915261068a939201610327565b60408051600280825260608201835260009260208301908036833701905050905086816000815181106106bf576106bf6115ec565b6001600160801b03199092166020928302919091019091015281518151829060019081106106ef576106ef6115ec565b6001600160801b0319909216602092830291909101820152825160408051808201825260168152756d657673686172653a76303a6d65726765644269647360501b8185015290516107469361032791869101611602565b6107508284610bad565b9a9950505050505050505050565b6040516000908190819063420100009082818181855afa9150503d80600081146107a4576040519150601f19603f3d011682016040523d82523d6000602084013e6107a9565b606091505b5091509150816107dd576342010000816040516375fff46760e01b81526004016107d4929190611650565b60405180910390fd5b6020015192915050565b600080600063421000006001600160a01b03168460405160200161080b9190610f69565b60408051601f198184030181529082905261082591611674565b600060405180830381855afa9150503d8060008114610860576040519150601f19603f3d011682016040523d82523d6000602084013e610865565b606091505b509150915081610890576342100000816040516375fff46760e01b81526004016107d4929190611650565b808060200190518101906108a491906116a0565b949350505050565b60606108b661075e565b6108bf57600080fd5b60008063421000376001600160a01b0316846040516020016108e19190610f69565b60408051601f19818403018152908290526108fb91611674565b600060405180830381855afa9150503d8060008114610936576040519150601f19603f3d011682016040523d82523d6000602084013e61093b565b606091505b5091509150816103fa576342100037816040516375fff46760e01b81526004016107d4929190611650565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a082015260008063420300006001600160a01b0316878787876040516020016109bf94939291906116bd565b60408051601f19818403018152908290526109d991611674565b600060405180830381855afa9150503d8060008114610a14576040519150601f19603f3d011682016040523d82523d6000602084013e610a19565b606091505b509150915081610a44576342030000816040516375fff46760e01b81526004016107d4929190611650565b80806020019051810190610a589190611794565b979650505050505050565b60008063420200006001600160a01b0316858585604051602001610a899392919061187b565b60408051601f1981840301815290829052610aa391611674565b600060405180830381855afa9150503d8060008114610ade576040519150601f19603f3d011682016040523d82523d6000602084013e610ae3565b606091505b509150915081610b0e576342020000816040516375fff46760e01b81526004016107d4929190611650565b5050505050565b604080516000808252602082019283905260609290918291634201000191610b3c91611674565b600060405180830381855afa9150503d8060008114610b77576040519150601f19603f3d011682016040523d82523d6000602084013e610b7c565b606091505b509150915081610ba7576342010001816040516375fff46760e01b81526004016107d4929190611650565b92915050565b60606000610bbe8460000151610cc1565b905060005b600054811015610cb657610ca360008281548110610be357610be36115ec565b906000526020600020018054610bf8906112d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c24906112d5565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b50505050506040518060400160405280600e81526020016d6d65765f73656e6442756e646c6560901b81525084610d79565b5080610cae816118ba565b915050610bc3565b506108a48484610e40565b6060610ccb61075e565b610cd457600080fd5b604080516001600160801b03198416602082015260009182916343200001910160408051601f1981840301815290829052610d0e91611674565b600060405180830381855afa9150503d8060008114610d49576040519150601f19603f3d011682016040523d82523d6000602084013e610d4e565b606091505b5091509150816103fa576343200001816040516375fff46760e01b81526004016107d4929190611650565b6060610d8361075e565b610d8c57600080fd5b60008063430000016001600160a01b0316868686604051602001610db2939291906118e1565b60408051601f1981840301815290829052610dcc91611674565b600060405180830381855afa9150503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b509150915081610e37576343000001816040516375fff46760e01b81526004016107d4929190611650565b95945050505050565b606060008051602061192e833981519152836000015184604001518560600151604051610e6f939291906113c5565b60405180910390a182516040517fafa6f6affefc1010901fc56588695137d9939d2d8b34b30abee96af800a1adc291610ea99185906113f7565b60405180910390a160405163c0b9d28760e01b90610ecb90859060200161191a565b60408051601f1981840301815290829052610ee992916020016114bc565b604051602081830303815290604052905092915050565b600060208284031215610f1257600080fd5b5035919050565b60005b83811015610f34578181015183820152602001610f1c565b50506000910152565b60008151808452610f55816020860160208601610f19565b601f01601f19169290920160200192915050565b6020815260006103fa6020830184610f3d565b6001600160401b0381168114610f9157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715610fcc57610fcc610f94565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ffa57610ffa610f94565b604052919050565b60006001600160401b0382111561101b5761101b610f94565b5060051b60200190565b6001600160a01b0381168114610f9157600080fd5b600082601f83011261104b57600080fd5b8135602061106061105b83611002565b610fd2565b82815260059290921b8401810191818101908684111561107f57600080fd5b8286015b848110156110a357803561109681611025565b8352918301918301611083565b509695505050505050565b6000806000606084860312156110c357600080fd5b83356110ce81610f7c565b925060208401356001600160401b03808211156110ea57600080fd5b6110f68783880161103a565b9350604086013591508082111561110c57600080fd5b506111198682870161103a565b9150509250925092565b600060c0828403121561113557600080fd5b50919050565b60006001600160401b0382111561115457611154610f94565b50601f01601f191660200190565b6000806040838503121561117557600080fd5b82356001600160401b038082111561118c57600080fd5b61119886838701611123565b935060208501359150808211156111ae57600080fd5b508301601f810185136111c057600080fd5b80356111ce61105b8261113b565b8181528660208385010111156111e357600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561121557600080fd5b81356001600160401b0381111561122b57600080fd5b6108a484828501611123565b6001600160801b031981168114610f9157600080fd5b6000806000806080858703121561126357600080fd5b843561126e81610f7c565b935060208501356001600160401b038082111561128a57600080fd5b6112968883890161103a565b945060408701359150808211156112ac57600080fd5b506112b98782880161103a565b92505060608501356112ca81611237565b939692955090935050565b600181811c908216806112e957607f821691505b60208210810361113557634e487b7160e01b600052602260045260246000fd5b600061131761105b8461113b565b905082815283838301111561132b57600080fd5b6103fa836020830184610f19565b60006020828403121561134b57600080fd5b81516001600160401b0381111561136157600080fd5b8201601f8101841361137257600080fd5b6108a484825160208401611309565b600081518084526020808501945080840160005b838110156113ba5781516001600160a01b031687529582019590820190600101611395565b509495945050505050565b6001600160801b0319841681526001600160401b0383166020820152606060408201526000610e376060830184611381565b6001600160801b0319831681526040602082015260006108a46040830184610f3d565b60006001600160801b0319808351168452806020840151166020850152506001600160401b036040830151166040840152606082015160c0606085015261146460c0850182611381565b90506080830151848203608086015261147d8282611381565b91505060a083015184820360a0860152610e378282610f3d565b6040815260006114aa604083018561141a565b8281036020840152610e378185610f3d565b6001600160e01b03198316815281516000906114df816004850160208701610f19565b919091016004019392505050565b6000602082840312156114ff57600080fd5b81356103fa81611237565b60006020828403121561151c57600080fd5b81356103fa81610f7c565b6000808335601e1984360301811261153e57600080fd5b8301803591506001600160401b0382111561155857600080fd5b6020019150600581901b360382131561157057600080fd5b9250929050565b6000606082016001600160801b03198716835260206001600160401b03871681850152606060408501528185835260808501905086925060005b868110156115df5783356115c481611025565b6001600160a01b0316825292820192908201906001016115b1565b5098975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b818110156116445783516001600160801b0319168352928401929184019160010161161e565b50909695505050505050565b6001600160a01b03831681526040602082018190526000906108a490830184610f3d565b60008251611686818460208701610f19565b9190910192915050565b805161169b81610f7c565b919050565b6000602082840312156116b257600080fd5b81516103fa81610f7c565b6001600160401b03851681526080602082015260006116df6080830186611381565b82810360408401526116f18186611381565b90508281036060840152610a588185610f3d565b805161169b81611237565b600082601f83011261172157600080fd5b8151602061173161105b83611002565b82815260059290921b8401810191818101908684111561175057600080fd5b8286015b848110156110a357805161176781611025565b8352918301918301611754565b600082601f83011261178557600080fd5b6103fa83835160208501611309565b6000602082840312156117a657600080fd5b81516001600160401b03808211156117bd57600080fd5b9083019060c082860312156117d157600080fd5b6117d9610faa565b6117e283611705565b81526117f060208401611705565b602082015261180160408401611690565b604082015260608301518281111561181857600080fd5b61182487828601611710565b60608301525060808301518281111561183c57600080fd5b61184887828601611710565b60808301525060a08301518281111561186057600080fd5b61186c87828601611774565b60a08301525095945050505050565b6001600160801b03198416815260606020820152600061189e6060830185610f3d565b82810360408401526118b08185610f3d565b9695505050505050565b6000600182016118da57634e487b7160e01b600052601160045260246000fd5b5060010190565b6060815260006118f46060830186610f3d565b82810360208401526119068186610f3d565b905082810360408401526118b08185610f3d565b6020815260006103fa602083018461141a56fe83481d5b04dea534715acad673a8177a46fc93882760f36bdc16ccac439d504ea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/example.sol/ExampleEthCallSource.json b/suave/artifacts/example.sol/ExampleEthCallSource.json index 5f87b67b84..fa5d8e5027 100644 --- a/suave/artifacts/example.sol/ExampleEthCallSource.json +++ b/suave/artifacts/example.sol/ExampleEthCallSource.json @@ -35,774 +35,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x608060405234801561001057600080fd5b5061033e806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a", - "sourceMap": "59:281:19:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a", - "sourceMap": "59:281:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95:243;;;;;;:::i;:::-;;:::i;:::-;;;210:32;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;210:32:19;-1:-1:-1;;;210:32:19;;;166:19;;188:55;;202:6;;188:13;:55::i;:::-;166:77;;254:11;280:6;269:28;;;;;;;;;;;;:::i;:::-;253:44;;;;322:8;315:3;:15;307:24;;;;;;156:182;;95:243;;:::o;4014:329:14:-;4097:12;4122;4136:17;1239:42;-1:-1:-1;;;;;4157:18:14;4187:12;4201:6;4176:32;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4176:32:14;;;;;;;;;;4157:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:88;;;;4224:7;4219:75;;1239:42;4278:4;4254:29;;-1:-1:-1;;;4254:29:14;;;;;;;;;:::i;:::-;;;;;;;;4219:75;4322:4;4311:25;;;;;;;;;;;;:::i;:::-;4304:32;4014:329;-1:-1:-1;;;;;4014:329:14:o;14:354:20:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;185:23;;-1:-1:-1;;;;;237:31:20;;227:42;;217:70;;283:1;280;273:12;217:70;306:5;358:2;343:18;;;;330:32;;-1:-1:-1;;;14:354:20:o;373:288::-;442:6;495:2;483:9;474:7;470:23;466:32;463:52;;;511:1;508;501:12;463:52;543:9;537:16;593:18;586:5;582:30;575:5;572:41;562:69;;627:1;624;617:12;562:69;650:5;373:288;-1:-1:-1;;;373:288:20:o;666:250::-;751:1;761:113;775:6;772:1;769:13;761:113;;;851:11;;;845:18;832:11;;;825:39;797:2;790:10;761:113;;;-1:-1:-1;;908:1:20;890:16;;883:27;666:250::o;921:491::-;1125:1;1121;1116:3;1112:11;1108:19;1100:6;1096:32;1085:9;1078:51;1165:2;1160;1149:9;1145:18;1138:30;1059:4;1197:6;1191:13;1240:6;1235:2;1224:9;1220:18;1213:34;1256:79;1328:6;1323:2;1312:9;1308:18;1303:2;1295:6;1291:15;1256:79;:::i;:::-;1396:2;1375:15;-1:-1:-1;;1371:29:20;1356:45;;;;1403:2;1352:54;;921:491;-1:-1:-1;;;921:491:20:o;1417:287::-;1546:3;1584:6;1578:13;1600:66;1659:6;1654:3;1647:4;1639:6;1635:17;1600:66;:::i;:::-;1682:16;;;;;1417:287;-1:-1:-1;;1417:287:20:o;1709:127::-;1770:10;1765:3;1761:20;1758:1;1751:31;1801:4;1798:1;1791:15;1825:4;1822:1;1815:15;1841:896;1920:6;1973:2;1961:9;1952:7;1948:23;1944:32;1941:52;;;1989:1;1986;1979:12;1941:52;2022:9;2016:16;2051:18;2092:2;2084:6;2081:14;2078:34;;;2108:1;2105;2098:12;2078:34;2146:6;2135:9;2131:22;2121:32;;2191:7;2184:4;2180:2;2176:13;2172:27;2162:55;;2213:1;2210;2203:12;2162:55;2242:2;2236:9;2264:2;2260;2257:10;2254:36;;;2270:18;;:::i;:::-;2345:2;2339:9;2313:2;2399:13;;-1:-1:-1;;2395:22:20;;;2419:2;2391:31;2387:40;2375:53;;;2443:18;;;2463:22;;;2440:46;2437:72;;;2489:18;;:::i;:::-;2529:10;2525:2;2518:22;2564:2;2556:6;2549:18;2604:7;2599:2;2594;2590;2586:11;2582:20;2579:33;2576:53;;;2625:1;2622;2615:12;2576:53;2638:68;2703:2;2698;2690:6;2686:15;2681:2;2677;2673:11;2638:68;:::i;:::-;2725:6;1841:896;-1:-1:-1;;;;;;;1841:896:20:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "callTarget(address,uint256)": "48bce064" + "object": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a" }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"PeekerReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"}],\"name\":\"callTarget\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/example.sol\":\"ExampleEthCallSource\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/example.sol\":{\"keccak256\":\"0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42\",\"urls\":[\"bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5\",\"dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "type": "error", - "name": "PeekerReverted" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "target", - "type": "address" - }, - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "callTarget" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/example.sol": "ExampleEthCallSource" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/example.sol": { - "keccak256": "0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42", - "urls": [ - "bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5", - "dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/example.sol", - "id": 42200, - "exportedSymbols": { - "ExampleEthCallSource": [ - 42190 - ], - "ExampleEthCallTarget": [ - 42199 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:453:19", - "nodes": [ - { - "id": 42153, - "nodeType": "PragmaDirective", - "src": "0:23:19", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 42154, - "nodeType": "ImportDirective", - "src": "25:32:19", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42200, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 42190, - "nodeType": "ContractDefinition", - "src": "59:281:19", - "nodes": [ - { - "id": 42189, - "nodeType": "FunctionDefinition", - "src": "95:243:19", - "nodes": [], - "body": { - "id": 42188, - "nodeType": "Block", - "src": "156:182:19", - "nodes": [], - "statements": [ - { - "assignments": [ - 42162 - ], - "declarations": [ - { - "constant": false, - "id": 42162, - "mutability": "mutable", - "name": "output", - "nameLocation": "179:6:19", - "nodeType": "VariableDeclaration", - "scope": 42188, - "src": "166:19:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42161, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "166:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42171, - "initialValue": { - "arguments": [ - { - "id": 42165, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42156, - "src": "202:6:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "6765742829", - "id": 42168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "234:7:19", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", - "typeString": "literal_string \"get()\"" - }, - "value": "get()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", - "typeString": "literal_string \"get()\"" - } - ], - "expression": { - "id": 42166, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "210:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "214:19:19", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "210:23:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 42169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "210:32:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42163, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "188:5:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "194:7:19", - "memberName": "ethcall", - "nodeType": "MemberAccess", - "referencedDeclaration": 39609, - "src": "188:13:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory) view returns (bytes memory)" - } - }, - "id": 42170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "188:55:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "166:77:19" - }, - { - "assignments": [ - 42173 - ], - "declarations": [ - { - "constant": false, - "id": 42173, - "mutability": "mutable", - "name": "num", - "nameLocation": "262:3:19", - "nodeType": "VariableDeclaration", - "scope": 42188, - "src": "254:11:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42172, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "254:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 42181, - "initialValue": { - "arguments": [ - { - "id": 42176, - "name": "output", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42162, - "src": "280:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 42178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "289:6:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 42177, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "289:6:19", - "typeDescriptions": {} - } - } - ], - "id": 42179, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "288:8:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 42174, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "269:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "273:6:19", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "269:10:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 42180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "269:28:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "253:44:19" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 42185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 42183, - "name": "num", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42173, - "src": "315:3:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 42184, - "name": "expected", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42158, - "src": "322:8:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "315:15:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42182, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "307:7:19", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "307:24:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42187, - "nodeType": "ExpressionStatement", - "src": "307:24:19" - } - ] - }, - "functionSelector": "48bce064", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "callTarget", - "nameLocation": "104:10:19", - "parameters": { - "id": 42159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42156, - "mutability": "mutable", - "name": "target", - "nameLocation": "123:6:19", - "nodeType": "VariableDeclaration", - "scope": 42189, - "src": "115:14:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 42155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "115:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42158, - "mutability": "mutable", - "name": "expected", - "nameLocation": "139:8:19", - "nodeType": "VariableDeclaration", - "scope": 42189, - "src": "131:16:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42157, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "131:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "114:34:19" - }, - "returnParameters": { - "id": 42160, - "nodeType": "ParameterList", - "parameters": [], - "src": "156:0:19" - }, - "scope": 42190, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ExampleEthCallSource", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42190 - ], - "name": "ExampleEthCallSource", - "nameLocation": "68:20:19", - "scope": 42200, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42199, - "nodeType": "ContractDefinition", - "src": "342:110:19", - "nodes": [ - { - "id": 42198, - "nodeType": "FunctionDefinition", - "src": "378:72:19", - "nodes": [], - "body": { - "id": 42197, - "nodeType": "Block", - "src": "423:27:19", - "nodes": [], - "statements": [ - { - "expression": { - "hexValue": "313031", - "id": 42195, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "440:3:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_101_by_1", - "typeString": "int_const 101" - }, - "value": "101" - }, - "functionReturnParameters": 42194, - "id": 42196, - "nodeType": "Return", - "src": "433:10:19" - } - ] - }, - "functionSelector": "6d4ce63c", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "get", - "nameLocation": "387:3:19", - "parameters": { - "id": 42191, - "nodeType": "ParameterList", - "parameters": [], - "src": "390:2:19" - }, - "returnParameters": { - "id": 42194, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42193, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42198, - "src": "414:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42192, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "414:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "413:9:19" - }, - "scope": 42199, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ExampleEthCallTarget", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42199 - ], - "name": "ExampleEthCallTarget", - "nameLocation": "351:20:19", - "scope": 42200, - "usedErrors": [] - } - ] - }, - "id": 19 -} \ No newline at end of file + "bytecode": { + "object": "0x608060405234801561001057600080fd5b5061033e806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806348bce06414610030575b600080fd5b61004361003e366004610183565b610045565b005b6040805160048152602481019091526020810180516001600160e01b0316631b53398f60e21b17905260009061007c9084906100b2565b905060008180602001905181019061009491906101bb565b67ffffffffffffffff1690508281146100ac57600080fd5b50505050565b606060008063421000036001600160a01b031685856040516020016100d8929190610210565b60408051601f19818403018152908290526100f291610252565b600060405180830381855afa9150503d806000811461012d576040519150601f19603f3d011682016040523d82523d6000602084013e610132565b606091505b509150915081610166576342100003816040516375fff46760e01b815260040161015d929190610210565b60405180910390fd5b8080602001905181019061017a9190610284565b95945050505050565b6000806040838503121561019657600080fd5b82356001600160a01b03811681146101ad57600080fd5b946020939093013593505050565b6000602082840312156101cd57600080fd5b815167ffffffffffffffff811681146101e557600080fd5b9392505050565b60005b838110156102075781810151838201526020016101ef565b50506000910152565b60018060a01b0383168152604060208201526000825180604084015261023d8160608501602087016101ec565b601f01601f1916919091016060019392505050565b600082516102648184602087016101ec565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561029657600080fd5b815167ffffffffffffffff808211156102ae57600080fd5b818401915084601f8301126102c257600080fd5b8151818111156102d4576102d461026e565b604051601f8201601f19908116603f011681019083821181831017156102fc576102fc61026e565b8160405282815287602084870101111561031557600080fd5b6103268360208301602088016101ec565b97965050505050505056fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/example.sol/ExampleEthCallTarget.json b/suave/artifacts/example.sol/ExampleEthCallTarget.json index a853d6486c..3a51d05157 100644 --- a/suave/artifacts/example.sol/ExampleEthCallTarget.json +++ b/suave/artifacts/example.sol/ExampleEthCallTarget.json @@ -14,754 +14,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x6080604052348015600f57600080fd5b50604e80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a", - "sourceMap": "342:110:19:-:0;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a", - "sourceMap": "342:110:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;378:72;440:3;378:72;;160:25:20;;;148:2;133:18;378:72:19;;;;;;", - "linkReferences": {} - }, - "methodIdentifiers": { - "get()": "6d4ce63c" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"get\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/standard_peekers/example.sol\":\"ExampleEthCallTarget\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/standard_peekers/example.sol\":{\"keccak256\":\"0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42\",\"urls\":[\"bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5\",\"dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "get", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/standard_peekers/example.sol": "ExampleEthCallTarget" - }, - "libraries": {} - }, - "sources": { - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/standard_peekers/example.sol": { - "keccak256": "0x5bba68b475bf01bee591f206cc3eee0ec9e4c860c2cd6fb547949a9e3154ed42", - "urls": [ - "bzz-raw://aab460c97f12497be83c998c4c3aa505acb41c8903b8351803ad3a963bede1b5", - "dweb:/ipfs/QmeBJzeEKjE1tEfpDoQ2knbdXPQsZCkHqKtXQ6fU2hYFCb" - ], - "license": null - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/standard_peekers/example.sol", - "id": 42200, - "exportedSymbols": { - "ExampleEthCallSource": [ - 42190 - ], - "ExampleEthCallTarget": [ - 42199 - ], - "Suave": [ - 39934 - ] - }, - "nodeType": "SourceUnit", - "src": "0:453:19", - "nodes": [ - { - "id": 42153, - "nodeType": "PragmaDirective", - "src": "0:23:19", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".8" - ] - }, - { - "id": 42154, - "nodeType": "ImportDirective", - "src": "25:32:19", - "nodes": [], - "absolutePath": "sol/libraries/Suave.sol", - "file": "../libraries/Suave.sol", - "nameLocation": "-1:-1:-1", - "scope": 42200, - "sourceUnit": 39935, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 42190, - "nodeType": "ContractDefinition", - "src": "59:281:19", - "nodes": [ - { - "id": 42189, - "nodeType": "FunctionDefinition", - "src": "95:243:19", - "nodes": [], - "body": { - "id": 42188, - "nodeType": "Block", - "src": "156:182:19", - "nodes": [], - "statements": [ - { - "assignments": [ - 42162 - ], - "declarations": [ - { - "constant": false, - "id": 42162, - "mutability": "mutable", - "name": "output", - "nameLocation": "179:6:19", - "nodeType": "VariableDeclaration", - "scope": 42188, - "src": "166:19:19", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 42161, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "166:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 42171, - "initialValue": { - "arguments": [ - { - "id": 42165, - "name": "target", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42156, - "src": "202:6:19", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "arguments": [ - { - "hexValue": "6765742829", - "id": 42168, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "234:7:19", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", - "typeString": "literal_string \"get()\"" - }, - "value": "get()" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_6d4ce63caa65600744ac797760560da39ebd16e8240936b51f53368ef9e0e01f", - "typeString": "literal_string \"get()\"" - } - ], - "expression": { - "id": 42166, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "210:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42167, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "214:19:19", - "memberName": "encodeWithSignature", - "nodeType": "MemberAccess", - "src": "210:23:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (string memory) pure returns (bytes memory)" - } - }, - "id": 42169, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "210:32:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 42163, - "name": "Suave", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39934, - "src": "188:5:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Suave_$39934_$", - "typeString": "type(library Suave)" - } - }, - "id": 42164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "194:7:19", - "memberName": "ethcall", - "nodeType": "MemberAccess", - "referencedDeclaration": 39609, - "src": "188:13:19", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (address,bytes memory) view returns (bytes memory)" - } - }, - "id": 42170, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "188:55:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "166:77:19" - }, - { - "assignments": [ - 42173 - ], - "declarations": [ - { - "constant": false, - "id": 42173, - "mutability": "mutable", - "name": "num", - "nameLocation": "262:3:19", - "nodeType": "VariableDeclaration", - "scope": 42188, - "src": "254:11:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42172, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "254:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "id": 42181, - "initialValue": { - "arguments": [ - { - "id": 42176, - "name": "output", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42162, - "src": "280:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "components": [ - { - "id": 42178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "289:6:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - }, - "typeName": { - "id": 42177, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "289:6:19", - "typeDescriptions": {} - } - } - ], - "id": 42179, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "288:8:19", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_type$_t_uint64_$", - "typeString": "type(uint64)" - } - ], - "expression": { - "id": 42174, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "269:3:19", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 42175, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "273:6:19", - "memberName": "decode", - "nodeType": "MemberAccess", - "src": "269:10:19", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 42180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "269:28:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "253:44:19" - }, - { - "expression": { - "arguments": [ - { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 42185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "id": 42183, - "name": "num", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42173, - "src": "315:3:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "id": 42184, - "name": "expected", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 42158, - "src": "322:8:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "315:15:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 42182, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - -18, - -18 - ], - "referencedDeclaration": -18, - "src": "307:7:19", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 42186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "307:24:19", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 42187, - "nodeType": "ExpressionStatement", - "src": "307:24:19" - } - ] - }, - "functionSelector": "48bce064", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "callTarget", - "nameLocation": "104:10:19", - "parameters": { - "id": 42159, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42156, - "mutability": "mutable", - "name": "target", - "nameLocation": "123:6:19", - "nodeType": "VariableDeclaration", - "scope": 42189, - "src": "115:14:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 42155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "115:7:19", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "visibility": "internal" - }, - { - "constant": false, - "id": 42158, - "mutability": "mutable", - "name": "expected", - "nameLocation": "139:8:19", - "nodeType": "VariableDeclaration", - "scope": 42189, - "src": "131:16:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42157, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "131:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "114:34:19" - }, - "returnParameters": { - "id": 42160, - "nodeType": "ParameterList", - "parameters": [], - "src": "156:0:19" - }, - "scope": 42190, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ExampleEthCallSource", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42190 - ], - "name": "ExampleEthCallSource", - "nameLocation": "68:20:19", - "scope": 42200, - "usedErrors": [ - 39309 - ] - }, - { - "id": 42199, - "nodeType": "ContractDefinition", - "src": "342:110:19", - "nodes": [ - { - "id": 42198, - "nodeType": "FunctionDefinition", - "src": "378:72:19", - "nodes": [], - "body": { - "id": 42197, - "nodeType": "Block", - "src": "423:27:19", - "nodes": [], - "statements": [ - { - "expression": { - "hexValue": "313031", - "id": 42195, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "440:3:19", - "typeDescriptions": { - "typeIdentifier": "t_rational_101_by_1", - "typeString": "int_const 101" - }, - "value": "101" - }, - "functionReturnParameters": 42194, - "id": 42196, - "nodeType": "Return", - "src": "433:10:19" - } - ] - }, - "functionSelector": "6d4ce63c", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "get", - "nameLocation": "387:3:19", - "parameters": { - "id": 42191, - "nodeType": "ParameterList", - "parameters": [], - "src": "390:2:19" - }, - "returnParameters": { - "id": 42194, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 42193, - "mutability": "mutable", - "name": "", - "nameLocation": "-1:-1:-1", - "nodeType": "VariableDeclaration", - "scope": 42198, - "src": "414:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42192, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "414:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "visibility": "internal" - } - ], - "src": "413:9:19" - }, - "scope": 42199, - "stateMutability": "view", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [], - "canonicalName": "ExampleEthCallTarget", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 42199 - ], - "name": "ExampleEthCallTarget", - "nameLocation": "351:20:19", - "scope": 42200, - "usedErrors": [] - } - ] + "object": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a" }, - "id": 19 -} \ No newline at end of file + "bytecode": { + "object": "0x6080604052348015600f57600080fd5b50604e80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80636d4ce63c14602d575b600080fd5b606560405190815260200160405180910390f3fea164736f6c6343000813000a" + } +} diff --git a/suave/artifacts/forge_example.sol/Example.json b/suave/artifacts/forge_example.sol/Example.json index 0b0d0da815..d4b5ba8e71 100644 --- a/suave/artifacts/forge_example.sol/Example.json +++ b/suave/artifacts/forge_example.sol/Example.json @@ -40,1289 +40,10 @@ "type": "function" } ], - "bytecode": { - "object": "0x600b805462ff00ff19166201000117905560c060405273c8df3686b4afb2bb53e60eae97ef043fe03fb8296080908152600060a05261004290600c906002610055565b5034801561004f57600080fd5b506100cf565b8280548282559060005260206000209081019282156100aa579160200282015b828111156100aa57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190610075565b506100b69291506100ba565b5090565b5b808211156100b657600081556001016100bb565b610f13806100de6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a", - "sourceMap": "3126:44:2:-:0;;;-1:-1:-1;;800:28:1;;;;;161:119:16;128:639;161:119;193:42;128:639;161:119;;;-1:-1:-1;161:119:16;;;;;;800:28:1;161:119:16;:::i;:::-;;128:639;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;128:639:16;-1:-1:-1;;;;;128:639:16;;;;;;;;;;;-1:-1:-1;128:639:16;;;;;;;-1:-1:-1;128:639:16;;;-1:-1:-1;128:639:16;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;", - "linkReferences": {} - }, "deployedBytecode": { - "object": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a", - "sourceMap": "128:639:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;161:119;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;363:32:17;;;345:51;;333:2;318:18;161:119:16;;;;;;;;287:478;;;:::i;:::-;;800:28:1;;;;;;;;;;;;;;;572:14:17;;565:22;547:41;;535:2;520:18;800:28:1;407:187:17;161:119:16;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;161:119:16;;-1:-1:-1;161:119:16;:::o;287:478::-;319:20;342:71;360:1;363:11;342:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;342:71:16;;;;;;;;;;;;;;;;;;;;;376:11;342:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;342:71:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;342:71:16;;;:17;:71::i;:::-;319:94;;424:36;463:48;484:1;463:48;;;;;;;;;;;;;-1:-1:-1;;;463:48:16;;;:20;:48::i;:::-;424:87;;521:37;533:17;:24;521:11;:37::i;:::-;569:74;603:3;:6;;;569:74;;;;;;;;;;;;;-1:-1:-1;;;569:74:16;;;616:26;;;;;;-1:-1:-1;;;801:21:17;;847:1;838:11;;599:256;616:26:16;;;;;;;;;;;;;569:33;:74::i;:::-;653:19;675:49;712:3;:6;;;675:49;;;;;;;;;;;;;-1:-1:-1;;;675:49:16;;;:36;:49::i;:::-;653:71;;734:24;751:6;734:16;:24::i;:::-;309:456;;;287:478::o;3199:455:15:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:17:15;3440:160;;;;;;;;;;;;;;;;;;3530:19;3551:14;3567:13;3582:7;3519:71;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3440:7;:160::i;:::-;3420:180;;3629:4;3618:29;;;;;;;;;;;;:::i;:::-;3611:36;3199:455;-1:-1:-1;;;;;;3199:455:15:o;2704:268::-;2784:18;2814:17;2834:82;;;;;;;;;;;;;;;;;;2899:4;2905:9;2888:27;;;;;;;;;:::i;2834:82::-;2814:102;;2945:4;2934:31;;;;;;;;;;;;:::i;:::-;2927:38;;;2704:268;;;;;:::o;5514:110:10:-;5560:57;5613:2;5576:40;;;;;;8374:25:17;;8362:2;8347:18;;8228:177;5576:40:10;;;;-1:-1:-1;;5576:40:10;;;;;;;;;;;;;;-1:-1:-1;;;;;5576:40:10;-1:-1:-1;;;5576:40:10;;;5560:15;:57::i;:::-;5514:110;:::o;1978:225:15:-;2092:17;2112:84;;;;;;;;;;;;;;;;;;2177:5;2184:3;2189:5;2166:29;;;;;;;;;;:::i;2112:84::-;-1:-1:-1;;;;;1978:225:15:o;1726:246::-;1822:12;1846:17;1866:77;;;;;;;;;;;;;;;;;;1931:5;1938:3;1920:22;;;;;;;;;:::i;1283:124:10:-;1342:58;1396:2;1358:41;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1358:41:10;;;;;;;;;;;;;;-1:-1:-1;;;;;1358:41:10;-1:-1:-1;;;1358:41:10;;;1342:15;:58::i;294:374:15:-;373:12;397:21;421:12;428:4;421:6;:12::i;:::-;469:15;;;482:1;469:15;;;;;;;;;397:36;;-1:-1:-1;444:22:15;;469:15;;;;;;;;;;;;;;;;;;;;;444:40;;494:19;;;;;;;;;;;;;-1:-1:-1;;;494:19:15;;;:6;501:1;494:9;;;;;;;;:::i;:::-;;;;;;:19;;;;523;;;;;;;;;;;;;-1:-1:-1;;;523:19:15;;;:6;530:1;523:9;;;;;;;;:::i;:::-;;;;;;:19;;;;564:4;552:6;559:1;552:9;;;;;;;;:::i;:::-;;;;;;:16;;;;590:7;578:6;585:1;578:9;;;;;;;;:::i;:::-;;;;;;;;;;:19;627:14;;-1:-1:-1;;;627:14:15;;608:16;;244:42;;627:6;;:14;;634:6;;627:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;627:14:15;;;;;;;;;;;;:::i;181:376:10:-;275:14;;131:42;448:2;435:16;;251:21;;275:14;435:16;131:42;484:5;473:68;464:77;;401:150;;181:376;:::o;674:463:15:-;732:13;757:22;792:6;:13;808:1;792:17;;;;:::i;:::-;782:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;782:28:15;-1:-1:-1;821:39:15;;;;;;;;;;;;-1:-1:-1;;;821:39:15;;;;757:53;;-1:-1:-1;821:18:15;871:201;895:6;:13;891:1;:17;871:201;;;948:5;973;:12;960:6;967:1;960:9;;;;;;;;:::i;:::-;;;;;954:31;;;960:9;;954:31;:::i;:::-;948:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;948:38:15;929:9;939:5;:1;943;939:5;:::i;:::-;929:16;;;;;;;;:::i;:::-;;;;:57;-1:-1:-1;;;;;929:57:15;;;;;;;;;1023:5;1048;:12;1035:6;1042:1;1035:9;;;;;;;;:::i;:::-;;;;;1029:31;;;1035:9;;1029:31;:::i;:::-;1023:38;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;1023:38:15;1000:9;1010:5;:1;1014;1010:5;:::i;:::-;:9;;1018:1;1010:9;:::i;:::-;1000:20;;;;;;;;:::i;:::-;;;;:61;-1:-1:-1;;;;;1000:61:15;;;;;;;;-1:-1:-1;910:3:15;;;;:::i;:::-;;;;871:201;;;;1119:9;1096:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;1082:48;;;;674:463;;;:::o;14:180:17:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:17;;14:180;-1:-1:-1;14:180:17:o;860:461::-;913:3;951:5;945:12;978:6;973:3;966:19;1004:4;1033:2;1028:3;1024:12;1017:19;;1070:2;1063:5;1059:14;1091:1;1101:195;1115:6;1112:1;1109:13;1101:195;;;1180:13;;-1:-1:-1;;;;;1176:39:17;1164:52;;1236:12;;;;1271:15;;;;1212:1;1130:9;1101:195;;;-1:-1:-1;1312:3:17;;860:461;-1:-1:-1;;;;;860:461:17:o;1326:250::-;1411:1;1421:113;1435:6;1432:1;1429:13;1421:113;;;1511:11;;;1505:18;1492:11;;;1485:39;1457:2;1450:10;1421:113;;;-1:-1:-1;;1568:1:17;1550:16;;1543:27;1326:250::o;1581:271::-;1623:3;1661:5;1655:12;1688:6;1683:3;1676:19;1704:76;1773:6;1766:4;1761:3;1757:14;1750:4;1743:5;1739:16;1704:76;:::i;:::-;1834:2;1813:15;-1:-1:-1;;1809:29:17;1800:39;;;;1841:4;1796:50;;1581:271;-1:-1:-1;;1581:271:17:o;1857:724::-;2200:18;2192:6;2188:31;2177:9;2170:50;2256:3;2251:2;2240:9;2236:18;2229:31;2151:4;2283:57;2335:3;2324:9;2320:19;2312:6;2283:57;:::i;:::-;2388:9;2380:6;2376:22;2371:2;2360:9;2356:18;2349:50;2422:44;2459:6;2451;2422:44;:::i;:::-;2408:58;;2514:9;2506:6;2502:22;2497:2;2486:9;2482:18;2475:50;2542:33;2568:6;2560;2542:33;:::i;:::-;2534:41;1857:724;-1:-1:-1;;;;;;;1857:724:17:o;2586:127::-;2647:10;2642:3;2638:20;2635:1;2628:31;2678:4;2675:1;2668:15;2702:4;2699:1;2692:15;2718:253;2790:2;2784:9;2832:4;2820:17;;2867:18;2852:34;;2888:22;;;2849:62;2846:88;;;2914:18;;:::i;:::-;2950:2;2943:22;2718:253;:::o;2976:275::-;3047:2;3041:9;3112:2;3093:13;;-1:-1:-1;;3089:27:17;3077:40;;3147:18;3132:34;;3168:22;;;3129:62;3126:88;;;3194:18;;:::i;:::-;3230:2;3223:22;2976:275;;-1:-1:-1;2976:275:17:o;3256:216::-;3354:13;;-1:-1:-1;;3396:51:17;;3386:62;;3376:90;;3462:1;3459;3452:12;3376:90;3256:216;;;:::o;3477:175::-;3555:13;;3608:18;3597:30;;3587:41;;3577:69;;3642:1;3639;3632:12;3657:183;3717:4;3750:18;3742:6;3739:30;3736:56;;;3772:18;;:::i;:::-;-1:-1:-1;3817:1:17;3813:14;3829:4;3809:25;;3657:183::o;3845:843::-;3910:5;3963:3;3956:4;3948:6;3944:17;3940:27;3930:55;;3981:1;3978;3971:12;3930:55;4010:6;4004:13;4036:4;4060:60;4076:43;4116:2;4076:43;:::i;:::-;4060:60;:::i;:::-;4154:15;;;4240:1;4236:10;;;;4224:23;;4220:32;;;4185:12;;;;4264:15;;;4261:35;;;4292:1;4289;4282:12;4261:35;4328:2;4320:6;4316:15;4340:319;4356:6;4351:3;4348:15;4340:319;;;4423:10;;-1:-1:-1;;;;;4466:31:17;;4456:42;;4446:140;;4540:1;4569:2;4565;4558:14;4446:140;4599:18;;4637:12;;;;4373;;4340:319;;;-1:-1:-1;4677:5:17;3845:843;-1:-1:-1;;;;;;3845:843:17:o;4693:391::-;4769:5;4803:18;4795:6;4792:30;4789:56;;;4825:18;;:::i;:::-;4863:57;4908:2;4887:15;;-1:-1:-1;;4883:29:17;4914:4;4879:40;4863:57;:::i;:::-;4854:66;;4943:6;4936:5;4929:21;4983:3;4974:6;4969:3;4965:16;4962:25;4959:45;;;5000:1;4997;4990:12;4959:45;5013:65;5071:6;5064:4;5057:5;5053:16;5048:3;5013:65;:::i;:::-;4693:391;;;;;:::o;5089:237::-;5143:5;5196:3;5189:4;5181:6;5177:17;5173:27;5163:55;;5214:1;5211;5204:12;5163:55;5236:84;5316:3;5307:6;5301:13;5294:4;5286:6;5282:17;5236:84;:::i;5331:1060::-;5392:5;5440:4;5428:9;5423:3;5419:19;5415:30;5412:50;;;5458:1;5455;5448:12;5412:50;5480:22;;:::i;:::-;5471:31;;5525:59;5574:9;5525:59;:::i;:::-;5518:5;5511:74;5617:68;5681:2;5670:9;5666:18;5617:68;:::i;:::-;5612:2;5605:5;5601:14;5594:92;5718:48;5762:2;5751:9;5747:18;5718:48;:::i;:::-;5713:2;5706:5;5702:14;5695:72;5811:2;5800:9;5796:18;5790:25;5834:18;5875:2;5867:6;5864:14;5861:34;;;5891:1;5888;5881:12;5861:34;5927:68;5991:3;5982:6;5971:9;5967:22;5927:68;:::i;:::-;5922:2;5915:5;5911:14;5904:92;6042:3;6031:9;6027:19;6021:26;6005:42;;6072:2;6062:8;6059:16;6056:36;;;6088:1;6085;6078:12;6056:36;6125:70;6191:3;6180:8;6169:9;6165:24;6125:70;:::i;:::-;6119:3;6112:5;6108:15;6101:95;6242:3;6231:9;6227:19;6221:26;6205:42;;6272:2;6262:8;6259:16;6256:36;;;6288:1;6285;6278:12;6256:36;;6325:59;6380:3;6369:8;6358:9;6354:24;6325:59;:::i;:::-;6319:3;6312:5;6308:15;6301:84;;5331:1060;;;;:::o;6396:353::-;6488:6;6541:2;6529:9;6520:7;6516:23;6512:32;6509:52;;;6557:1;6554;6547:12;6509:52;6590:9;6584:16;6623:18;6615:6;6612:30;6609:50;;;6655:1;6652;6645:12;6609:50;6678:65;6735:7;6726:6;6715:9;6711:22;6678:65;:::i;6754:314::-;6941:18;6933:6;6929:31;6918:9;6911:50;6997:2;6992;6981:9;6977:18;6970:30;6892:4;7017:45;7058:2;7047:9;7043:18;7035:6;7017:45;:::i;:::-;7009:53;6754:314;-1:-1:-1;;;;6754:314:17:o;7073:1150::-;7190:6;7221:2;7264;7252:9;7243:7;7239:23;7235:32;7232:52;;;7280:1;7277;7270:12;7232:52;7313:9;7307:16;7342:18;7383:2;7375:6;7372:14;7369:34;;;7399:1;7396;7389:12;7369:34;7437:6;7426:9;7422:22;7412:32;;7482:7;7475:4;7471:2;7467:13;7463:27;7453:55;;7504:1;7501;7494:12;7453:55;7533:2;7527:9;7556:60;7572:43;7612:2;7572:43;:::i;7556:60::-;7650:15;;;7732:1;7728:10;;;;7720:19;;7716:28;;;7681:12;;;;7756:19;;;7753:39;;;7788:1;7785;7778:12;7753:39;7820:2;7816;7812:11;7832:361;7848:6;7843:3;7840:15;7832:361;;;7927:3;7921:10;7963:2;7950:11;7947:19;7944:109;;;8007:1;8036:2;8032;8025:14;7944:109;8078:72;8142:7;8137:2;8123:11;8119:2;8115:20;8111:29;8078:72;:::i;:::-;8066:85;;-1:-1:-1;8171:12:17;;;;7865;;7832:361;;;-1:-1:-1;8212:5:17;7073:1150;-1:-1:-1;;;;;;;;7073:1150:17:o;8410:525::-;-1:-1:-1;;;;;8672:39:17;8664:6;8660:52;8649:9;8642:71;8749:2;8744;8733:9;8729:18;8722:30;8623:4;8775:45;8816:2;8805:9;8801:18;8793:6;8775:45;:::i;:::-;8868:9;8860:6;8856:22;8851:2;8840:9;8836:18;8829:50;8896:33;8922:6;8914;8896:33;:::i;8940:364::-;-1:-1:-1;;;;;9156:39:17;9148:6;9144:52;9133:9;9126:71;9233:2;9228;9217:9;9213:18;9206:30;9107:4;9253:45;9294:2;9283:9;9279:18;9271:6;9253:45;:::i;9309:218::-;9456:2;9445:9;9438:21;9419:4;9476:45;9517:2;9506:9;9502:18;9494:6;9476:45;:::i;9532:127::-;9593:10;9588:3;9584:20;9581:1;9574:31;9624:4;9621:1;9614:15;9648:4;9645:1;9638:15;9664:803;9826:4;9855:2;9895;9884:9;9880:18;9925:2;9914:9;9907:21;9948:6;9983;9977:13;10014:6;10006;9999:22;10052:2;10041:9;10037:18;10030:25;;10114:2;10104:6;10101:1;10097:14;10086:9;10082:30;10078:39;10064:53;;10152:2;10144:6;10140:15;10173:1;10183:255;10197:6;10194:1;10191:13;10183:255;;;10290:2;10286:7;10274:9;10266:6;10262:22;10258:36;10253:3;10246:49;10318:40;10351:6;10342;10336:13;10318:40;:::i;:::-;10308:50;-1:-1:-1;10416:12:17;;;;10381:15;;;;10219:1;10212:9;10183:255;;;-1:-1:-1;10455:6:17;;9664:803;-1:-1:-1;;;;;;;9664:803:17:o;10472:458::-;10551:6;10604:2;10592:9;10583:7;10579:23;10575:32;10572:52;;;10620:1;10617;10610:12;10572:52;10653:9;10647:16;10686:18;10678:6;10675:30;10672:50;;;10718:1;10715;10708:12;10672:50;10741:22;;10794:4;10786:13;;10782:27;-1:-1:-1;10772:55:17;;10823:1;10820;10813:12;10772:55;10846:78;10916:7;10911:2;10905:9;10900:2;10896;10892:11;10846:78;:::i;10935:127::-;10996:10;10991:3;10987:20;10984:1;10977:31;11027:4;11024:1;11017:15;11051:4;11048:1;11041:15;11067:168;11140:9;;;11171;;11188:15;;;11182:22;;11168:37;11158:71;;11209:18;;:::i;11240:127::-;11301:10;11296:3;11292:20;11289:1;11282:31;11332:4;11329:1;11322:15;11356:4;11353:1;11346:15;11372:120;11412:1;11438;11428:35;;11443:18;;:::i;:::-;-1:-1:-1;11477:9:17;;11372:120::o;11497:112::-;11529:1;11555;11545:35;;11560:18;;:::i;:::-;-1:-1:-1;11594:9:17;;11497:112::o;11614:125::-;11679:9;;;11700:10;;;11697:36;;;11713:18;;:::i;11744:135::-;11783:3;11804:17;;;11801:43;;11824:18;;:::i;:::-;-1:-1:-1;11871:1:17;11860:13;;11744:135::o;11884:430::-;-1:-1:-1;;;12139:3:17;12132:17;12114:3;12178:6;12172:13;12194:74;12261:6;12257:1;12252:3;12248:11;12241:4;12233:6;12229:17;12194:74;:::i;:::-;12288:16;;;;12306:1;12284:24;;11884:430;-1:-1:-1;;11884:430:17:o", - "linkReferences": {} - }, - "methodIdentifiers": { - "IS_SCRIPT()": "f8ccbf47", - "addressList(uint256)": "b810fb43", - "run()": "c0406226" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"IS_SCRIPT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"addressList\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"run\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"sol/scripts/forge_example.sol\":\"Example\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Base.sol\":{\"keccak256\":\"0x4ff1a785311017d1eedb1b4737956fa383067ad34eb439abfec1d989754dde1c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f553622969b9fdb930246704a4c10dfaee6b1a4468c142fa7eb9dc292a438224\",\"dweb:/ipfs/QmcxqHnqdQsMVtgsfH9VNLmZ3g7GhgNagfq7yvNCDcCHFK\"]},\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x2315be74cc2826f9da401bea3da46a10ad6a6efdf73176d79160b453286d0ed2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af0d4dc826911d6cb4d6272ed5cbdb6950e1476141cca328e178b808d848789c\",\"dweb:/ipfs/QmV2ytjUEkV84VtdMs1nZqQTBoVE987cHboQMpiha5yo3e\"]},\"lib/forge-std/src/StdChains.sol\":{\"keccak256\":\"0xdbb593a36db1fde25c398f38312cfedc5b39c4bad1c65c2f58b7515c4dd76be8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://afc49471af92a1fd12686e2757ad0cbeb5bfe3cc95b8b6b5a5a91af83a8bcfd1\",\"dweb:/ipfs/QmcAQ5WesfLBUChNGuRMGQsDYf44q35Ln7Xb3jmyQgdESU\"]},\"lib/forge-std/src/StdCheats.sol\":{\"keccak256\":\"0xa0bac08b3d12d561fadf74c83c69f3ee54fe40e0c7766611766f6db70c202373\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://292f1e61a3a60f9f4075d0b567f5123d159b0541b7787e4523597ab57331eb08\",\"dweb:/ipfs/QmatxDNPiYVtLap2nn4Hp3AxzkSzkdAQDirbc5QKCDfde5\"]},\"lib/forge-std/src/StdJson.sol\":{\"keccak256\":\"0x8f914dbd016bd0e318fe2b8bd556fbc8256c7cddc24e3e4fcb9f3c1c1935592d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://19e704df493dde38323303b07d18cadfeb4dcadf1ddc2301add4aea9474fbb5e\",\"dweb:/ipfs/QmZasuGiLK8LHwWtvpqEBxUR6QFY6GdzLMTJ9q7CMf8PNZ\"]},\"lib/forge-std/src/StdMath.sol\":{\"keccak256\":\"0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92\",\"dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC\"]},\"lib/forge-std/src/StdStorage.sol\":{\"keccak256\":\"0x4298f3f4cedaedb07029820b1daad2c03af45379559392201f7bf3ec71105811\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e062f36d8d1ae3c383ef8975757926eaa9c4de3a92b5f1fe2d12748bcd8db32\",\"dweb:/ipfs/QmcWkv3ia5Ew4DZNcudMNSTNXZ3W2QiXTZunRd44e9BT8z\"]},\"lib/forge-std/src/StdStyle.sol\":{\"keccak256\":\"0x43e2a8a9b9c2574dabe74f11adf6f782df218f463540e3b5b563609fe108597d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://51363ca97404cf4128e1141428949768c31929e75e014b02c85e887fbbb4f1b8\",\"dweb:/ipfs/QmVhtbQc2fU4rRmbcfBtz34mAgG4BAZBsbna1Ca4SkoPsK\"]},\"lib/forge-std/src/StdUtils.sol\":{\"keccak256\":\"0x8758c42ba9d9e46868b796e2330ac239006ede07bd438a4b36dd6f2c47d27dc1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11f5752e0187b1e3631b875efdbe05d45929d05f1c1717105a9115d0a6628140\",\"dweb:/ipfs/QmUKkx9jfsUvjyYBw45RvrW1hTFXDXi2Jv5tbHP86mnzpi\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0x039a59e16791fb3595615f1ad19d614cdb1f1e567ed3bfc1a35d97177387be68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da3d0bfe99104664a3a053665578ad1277ea79e0704519d3b7ff98b3b7054155\",\"dweb:/ipfs/QmesLHpsvzvC6DoTFLdgNibRU5sfeNggYtyaRfA64t2PsD\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0x954646445d1014c3cd85c7918f5e7adeeca5ee44b68c00bafa237e597a4e35ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://516fa3be52da4763147175bfba4be0aa011fadbb0c1afb01f97265bd4cee7973\",\"dweb:/ipfs/QmdixAyMJefx7qePChgdxcBH5MxhmN7vsqPuPLx3CgrVmF\"]},\"lib/forge-std/src/interfaces/IMulticall3.sol\":{\"keccak256\":\"0x7aac1389150499a922d1f9ef5749c908cef127cb2075b92fa17e9cb611263d0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d95ebb7c7c463e08ebc12dab639945752fb2480acfc6e86da32f72732a7fd0c0\",\"dweb:/ipfs/QmNXK8P8oPWwajsQHvAHw3JPyQidPLCGQN3hWu1Lk6PBL2\"]},\"lib/forge-std/src/safeconsole.sol\":{\"keccak256\":\"0xbaf41fdc6c54297e7cd8250e48b0f20eaac918e342a1028cef3f9a52ac086381\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a500ad81dea226f9910e6b50f99a9ff930105e393a692cbfb2185e4cdb4424ae\",\"dweb:/ipfs/QmVbUQpXNMmMWRiy4FvBNczzq46BMGfUoBikvSHNiCxVTq\"]},\"sol/libraries/Suave.sol\":{\"keccak256\":\"0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a\",\"dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae\"]},\"sol/libraries/SuaveForge.sol\":{\"keccak256\":\"0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067\",\"dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd\"]},\"sol/scripts/forge_example.sol\":{\"keccak256\":\"0x7896dacc8632eb8ae06cf09c23115ef6e83b4bede44525fa82bd8268e1a7bded\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d5d7b7971c2f34bc8eef488d9c89fbcb86c145e112841285f924d2b78c033014\",\"dweb:/ipfs/QmfWZeGf2XVa2aHRt46NNhsPNdxeDWuTmPrcUQSJPdQ1cM\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.19+commit.7dd6d404" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "IS_SCRIPT", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "addressList", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "run" - } - ], - "devdoc": { - "kind": "dev", - "methods": {}, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": {}, - "version": 1 - } - }, - "settings": { - "remappings": [ - ":ds-test/=lib/forge-std/lib/ds-test/src/", - ":forge-std/=lib/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 200 - }, - "metadata": { - "bytecodeHash": "none" - }, - "compilationTarget": { - "sol/scripts/forge_example.sol": "Example" - }, - "libraries": {} - }, - "sources": { - "lib/forge-std/src/Base.sol": { - "keccak256": "0x4ff1a785311017d1eedb1b4737956fa383067ad34eb439abfec1d989754dde1c", - "urls": [ - "bzz-raw://f553622969b9fdb930246704a4c10dfaee6b1a4468c142fa7eb9dc292a438224", - "dweb:/ipfs/QmcxqHnqdQsMVtgsfH9VNLmZ3g7GhgNagfq7yvNCDcCHFK" - ], - "license": "MIT" - }, - "lib/forge-std/src/Script.sol": { - "keccak256": "0x2315be74cc2826f9da401bea3da46a10ad6a6efdf73176d79160b453286d0ed2", - "urls": [ - "bzz-raw://af0d4dc826911d6cb4d6272ed5cbdb6950e1476141cca328e178b808d848789c", - "dweb:/ipfs/QmV2ytjUEkV84VtdMs1nZqQTBoVE987cHboQMpiha5yo3e" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdChains.sol": { - "keccak256": "0xdbb593a36db1fde25c398f38312cfedc5b39c4bad1c65c2f58b7515c4dd76be8", - "urls": [ - "bzz-raw://afc49471af92a1fd12686e2757ad0cbeb5bfe3cc95b8b6b5a5a91af83a8bcfd1", - "dweb:/ipfs/QmcAQ5WesfLBUChNGuRMGQsDYf44q35Ln7Xb3jmyQgdESU" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdCheats.sol": { - "keccak256": "0xa0bac08b3d12d561fadf74c83c69f3ee54fe40e0c7766611766f6db70c202373", - "urls": [ - "bzz-raw://292f1e61a3a60f9f4075d0b567f5123d159b0541b7787e4523597ab57331eb08", - "dweb:/ipfs/QmatxDNPiYVtLap2nn4Hp3AxzkSzkdAQDirbc5QKCDfde5" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdJson.sol": { - "keccak256": "0x8f914dbd016bd0e318fe2b8bd556fbc8256c7cddc24e3e4fcb9f3c1c1935592d", - "urls": [ - "bzz-raw://19e704df493dde38323303b07d18cadfeb4dcadf1ddc2301add4aea9474fbb5e", - "dweb:/ipfs/QmZasuGiLK8LHwWtvpqEBxUR6QFY6GdzLMTJ9q7CMf8PNZ" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdMath.sol": { - "keccak256": "0xd90ad4fd8aeaeb8929964e686e769fdedd5eded3fc3815df194a0ab9f91a3fb2", - "urls": [ - "bzz-raw://7919b70f636c7b805223992f28ad1ad0145d6c1385b5931a3589aface5fe6c92", - "dweb:/ipfs/QmY7FRaULwoGgFteF8GawjQJRfasNgpWnU2aiMsFrYpuTC" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStorage.sol": { - "keccak256": "0x4298f3f4cedaedb07029820b1daad2c03af45379559392201f7bf3ec71105811", - "urls": [ - "bzz-raw://6e062f36d8d1ae3c383ef8975757926eaa9c4de3a92b5f1fe2d12748bcd8db32", - "dweb:/ipfs/QmcWkv3ia5Ew4DZNcudMNSTNXZ3W2QiXTZunRd44e9BT8z" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdStyle.sol": { - "keccak256": "0x43e2a8a9b9c2574dabe74f11adf6f782df218f463540e3b5b563609fe108597d", - "urls": [ - "bzz-raw://51363ca97404cf4128e1141428949768c31929e75e014b02c85e887fbbb4f1b8", - "dweb:/ipfs/QmVhtbQc2fU4rRmbcfBtz34mAgG4BAZBsbna1Ca4SkoPsK" - ], - "license": "MIT" - }, - "lib/forge-std/src/StdUtils.sol": { - "keccak256": "0x8758c42ba9d9e46868b796e2330ac239006ede07bd438a4b36dd6f2c47d27dc1", - "urls": [ - "bzz-raw://11f5752e0187b1e3631b875efdbe05d45929d05f1c1717105a9115d0a6628140", - "dweb:/ipfs/QmUKkx9jfsUvjyYBw45RvrW1hTFXDXi2Jv5tbHP86mnzpi" - ], - "license": "MIT" - }, - "lib/forge-std/src/Vm.sol": { - "keccak256": "0x039a59e16791fb3595615f1ad19d614cdb1f1e567ed3bfc1a35d97177387be68", - "urls": [ - "bzz-raw://da3d0bfe99104664a3a053665578ad1277ea79e0704519d3b7ff98b3b7054155", - "dweb:/ipfs/QmesLHpsvzvC6DoTFLdgNibRU5sfeNggYtyaRfA64t2PsD" - ], - "license": "MIT" - }, - "lib/forge-std/src/console.sol": { - "keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", - "urls": [ - "bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", - "dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" - ], - "license": "MIT" - }, - "lib/forge-std/src/console2.sol": { - "keccak256": "0x954646445d1014c3cd85c7918f5e7adeeca5ee44b68c00bafa237e597a4e35ea", - "urls": [ - "bzz-raw://516fa3be52da4763147175bfba4be0aa011fadbb0c1afb01f97265bd4cee7973", - "dweb:/ipfs/QmdixAyMJefx7qePChgdxcBH5MxhmN7vsqPuPLx3CgrVmF" - ], - "license": "MIT" - }, - "lib/forge-std/src/interfaces/IMulticall3.sol": { - "keccak256": "0x7aac1389150499a922d1f9ef5749c908cef127cb2075b92fa17e9cb611263d0a", - "urls": [ - "bzz-raw://d95ebb7c7c463e08ebc12dab639945752fb2480acfc6e86da32f72732a7fd0c0", - "dweb:/ipfs/QmNXK8P8oPWwajsQHvAHw3JPyQidPLCGQN3hWu1Lk6PBL2" - ], - "license": "MIT" - }, - "lib/forge-std/src/safeconsole.sol": { - "keccak256": "0xbaf41fdc6c54297e7cd8250e48b0f20eaac918e342a1028cef3f9a52ac086381", - "urls": [ - "bzz-raw://a500ad81dea226f9910e6b50f99a9ff930105e393a692cbfb2185e4cdb4424ae", - "dweb:/ipfs/QmVbUQpXNMmMWRiy4FvBNczzq46BMGfUoBikvSHNiCxVTq" - ], - "license": "MIT" - }, - "sol/libraries/Suave.sol": { - "keccak256": "0x460f8be1e207256e1967bacae080847e8f87dff74a6ebf9fffe3fb181e0d8c86", - "urls": [ - "bzz-raw://e1fc7b2595de017b1cf53ba62f069c96ee564f8cbb6d9a228d44e2b6292bac2a", - "dweb:/ipfs/QmS1gAXYTqRVqAaEjYpuScFsriBh9GMmqKPCH8ViJ6L6ae" - ], - "license": "UNLICENSED" - }, - "sol/libraries/SuaveForge.sol": { - "keccak256": "0x4ede39a53ff9364e3908f906d786f8d584a5f2fbea18a31568e200482b381a34", - "urls": [ - "bzz-raw://143d3f9a1505785630ab5cc071897019fe27d84cdbaa0f7e67262773c432e067", - "dweb:/ipfs/QmZHSQuVpMccfJAzAfiP6RUsCxe6pSWGZ6A6H6pPiqSjZd" - ], - "license": "UNLICENSED" - }, - "sol/scripts/forge_example.sol": { - "keccak256": "0x7896dacc8632eb8ae06cf09c23115ef6e83b4bede44525fa82bd8268e1a7bded", - "urls": [ - "bzz-raw://d5d7b7971c2f34bc8eef488d9c89fbcb86c145e112841285f924d2b78c033014", - "dweb:/ipfs/QmfWZeGf2XVa2aHRt46NNhsPNdxeDWuTmPrcUQSJPdQ1cM" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "sol/scripts/forge_example.sol", - "id": 40521, - "exportedSymbols": { - "Example": [ - 40520 - ], - "Script": [ - 113 - ], - "ScriptBase": [ - 74 - ], - "StdChains": [ - 851 - ], - "StdCheatsSafe": [ - 2911 - ], - "StdStorage": [ - 4470 - ], - "StdStyle": [ - 7320 - ], - "StdUtils": [ - 8168 - ], - "Suave": [ - 39934 - ], - "SuaveForge": [ - 40444 - ], - "Vm": [ - 39946 - ], - "VmSafe": [ - 9403 - ], - "console": [ - 17938 - ], - "console2": [ - 26063 - ], - "safeconsole": [ - 39301 - ], - "stdJson": [ - 4296 - ], - "stdMath": [ - 4438 - ], - "stdStorageSafe": [ - 5518 - ] - }, - "nodeType": "SourceUnit", - "src": "32:736:16", - "nodes": [ - { - "id": 40446, - "nodeType": "PragmaDirective", - "src": "32:24:16", - "nodes": [], - "literals": [ - "solidity", - "^", - "0.8", - ".13" - ] - }, - { - "id": 40447, - "nodeType": "ImportDirective", - "src": "58:37:16", - "nodes": [], - "absolutePath": "sol/libraries/SuaveForge.sol", - "file": "../libraries/SuaveForge.sol", - "nameLocation": "-1:-1:-1", - "scope": 40521, - "sourceUnit": 40445, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40448, - "nodeType": "ImportDirective", - "src": "96:30:16", - "nodes": [], - "absolutePath": "lib/forge-std/src/Script.sol", - "file": "forge-std/Script.sol", - "nameLocation": "-1:-1:-1", - "scope": 40521, - "sourceUnit": 114, - "symbolAliases": [], - "unitAlias": "" - }, - { - "id": 40520, - "nodeType": "ContractDefinition", - "src": "128:639:16", - "nodes": [ - { - "id": 40456, - "nodeType": "VariableDeclaration", - "src": "161:119:16", - "nodes": [], - "constant": false, - "functionSelector": "b810fb43", - "mutability": "mutable", - "name": "addressList", - "nameLocation": "178:11:16", - "scope": 40520, - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 40451, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "161:7:16", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 40452, - "nodeType": "ArrayTypeName", - "src": "161:9:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": { - "components": [ - { - "hexValue": "307843386466333638366234416662324242353365363045416539374546303433464530334662383239", - "id": 40453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "193:42:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0xC8df3686b4Afb2BB53e60EAe97EF043FE03Fb829" - }, - { - "hexValue": "307830303030303030303030303030303030303030303030303030303030303030303030303030303030", - "id": 40454, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "237:42:16", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "value": "0x0000000000000000000000000000000000000000" - } - ], - "id": 40455, - "isConstant": false, - "isInlineArray": true, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "192:88:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$2_memory_ptr", - "typeString": "address[2] memory" - } - }, - "visibility": "public" - }, - { - "id": 40519, - "nodeType": "FunctionDefinition", - "src": "287:478:16", - "nodes": [], - "body": { - "id": 40518, - "nodeType": "Block", - "src": "309:456:16", - "nodes": [], - "statements": [ - { - "assignments": [ - 40463 - ], - "declarations": [ - { - "constant": false, - "id": 40463, - "mutability": "mutable", - "name": "bid", - "nameLocation": "336:3:16", - "nodeType": "VariableDeclaration", - "scope": 40518, - "src": "319:20:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid" - }, - "typeName": { - "id": 40462, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40461, - "name": "Suave.Bid", - "nameLocations": [ - "319:5:16", - "325:3:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "319:9:16" - }, - "referencedDeclaration": 39328, - "src": "319:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "visibility": "internal" - } - ], - "id": 40471, - "initialValue": { - "arguments": [ - { - "hexValue": "30", - "id": 40466, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "360:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "id": 40467, - "name": "addressList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40456, - "src": "363:11:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - { - "id": 40468, - "name": "addressList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40456, - "src": "376:11:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40469, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "389:23:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40464, - "name": "SuaveForge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40444, - "src": "342:10:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", - "typeString": "type(library SuaveForge)" - } - }, - "id": 40465, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "353:6:16", - "memberName": "newBid", - "nodeType": "MemberAccess", - "referencedDeclaration": 40336, - "src": "342:17:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_Bid_$39328_memory_ptr_$", - "typeString": "function (uint64,address[] memory,address[] memory,string memory) view returns (struct Suave.Bid memory)" - } - }, - "id": 40470, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "342:71:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "319:94:16" - }, - { - "assignments": [ - 40477 - ], - "declarations": [ - { - "constant": false, - "id": 40477, - "mutability": "mutable", - "name": "allShareMatchBids", - "nameLocation": "443:17:16", - "nodeType": "VariableDeclaration", - "scope": 40518, - "src": "424:36:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid[]" - }, - "typeName": { - "baseType": { - "id": 40475, - "nodeType": "UserDefinedTypeName", - "pathNode": { - "id": 40474, - "name": "Suave.Bid", - "nameLocations": [ - "424:5:16", - "430:3:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 39328, - "src": "424:9:16" - }, - "referencedDeclaration": 39328, - "src": "424:9:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_storage_ptr", - "typeString": "struct Suave.Bid" - } - }, - "id": 40476, - "nodeType": "ArrayTypeName", - "src": "424:11:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_storage_$dyn_storage_ptr", - "typeString": "struct Suave.Bid[]" - } - }, - "visibility": "internal" - } - ], - "id": 40483, - "initialValue": { - "arguments": [ - { - "hexValue": "30", - "id": 40480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "484:1:16", - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - { - "hexValue": "64656661756c743a76303a65746842756e646c6573", - "id": 40481, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "487:23:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - }, - "value": "default:v0:ethBundles" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_stringliteral_60a83bf5d53f487dac03add8b79821997cab94141590ba48b7b2496c495330d6", - "typeString": "literal_string \"default:v0:ethBundles\"" - } - ], - "expression": { - "id": 40478, - "name": "SuaveForge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40444, - "src": "463:10:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", - "typeString": "type(library SuaveForge)" - } - }, - "id": 40479, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "474:9:16", - "memberName": "fetchBids", - "nodeType": "MemberAccess", - "referencedDeclaration": 40277, - "src": "463:20:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint64_$_t_string_memory_ptr_$returns$_t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr_$", - "typeString": "function (uint64,string memory) view returns (struct Suave.Bid memory[] memory)" - } - }, - "id": 40482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "463:48:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "424:87:16" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40487, - "name": "allShareMatchBids", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40477, - "src": "533:17:16", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Bid_$39328_memory_ptr_$dyn_memory_ptr", - "typeString": "struct Suave.Bid memory[] memory" - } - }, - "id": 40488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "551:6:16", - "memberName": "length", - "nodeType": "MemberAccess", - "src": "533:24:16", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "id": 40484, - "name": "console", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17938, - "src": "521:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_console_$17938_$", - "typeString": "type(library console)" - } - }, - "id": 40486, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "529:3:16", - "memberName": "log", - "nodeType": "MemberAccess", - "referencedDeclaration": 10455, - "src": "521:11:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$__$", - "typeString": "function (uint256) view" - } - }, - "id": 40489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "521:37:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40490, - "nodeType": "ExpressionStatement", - "src": "521:37:16" - }, - { - "expression": { - "arguments": [ - { - "expression": { - "id": 40494, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40463, - "src": "603:3:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40495, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "607:2:16", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "603:6:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "61", - "id": 40496, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "611:3:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", - "typeString": "literal_string \"a\"" - }, - "value": "a" - }, - { - "arguments": [ - { - "hexValue": "626262626262", - "id": 40499, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "633:8:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e404397b23f0f166177ba9e8b2f56119e01bd6bbf54d8e79ac5c1164315cdb16", - "typeString": "literal_string \"bbbbbb\"" - }, - "value": "bbbbbb" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_e404397b23f0f166177ba9e8b2f56119e01bd6bbf54d8e79ac5c1164315cdb16", - "typeString": "literal_string \"bbbbbb\"" - } - ], - "expression": { - "id": 40497, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": -1, - "src": "616:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 40498, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberLocation": "620:12:16", - "memberName": "encodePacked", - "nodeType": "MemberAccess", - "src": "616:16:16", - "typeDescriptions": { - "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", - "typeString": "function () pure returns (bytes memory)" - } - }, - "id": 40500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "616:26:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", - "typeString": "literal_string \"a\"" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40491, - "name": "SuaveForge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40444, - "src": "569:10:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", - "typeString": "type(library SuaveForge)" - } - }, - "id": 40493, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "580:22:16", - "memberName": "confidentialStoreStore", - "nodeType": "MemberAccess", - "referencedDeclaration": 40196, - "src": "569:33:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (Suave.BidId,string memory,bytes memory) view" - } - }, - "id": 40501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "569:74:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40502, - "nodeType": "ExpressionStatement", - "src": "569:74:16" - }, - { - "assignments": [ - 40504 - ], - "declarations": [ - { - "constant": false, - "id": 40504, - "mutability": "mutable", - "name": "result", - "nameLocation": "666:6:16", - "nodeType": "VariableDeclaration", - "scope": 40518, - "src": "653:19:16", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 40503, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "653:5:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "visibility": "internal" - } - ], - "id": 40511, - "initialValue": { - "arguments": [ - { - "expression": { - "id": 40507, - "name": "bid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40463, - "src": "712:3:16", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Bid_$39328_memory_ptr", - "typeString": "struct Suave.Bid memory" - } - }, - "id": 40508, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "716:2:16", - "memberName": "id", - "nodeType": "MemberAccess", - "referencedDeclaration": 39314, - "src": "712:6:16", - "typeDescriptions": { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - } - }, - { - "hexValue": "61", - "id": 40509, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "720:3:16", - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", - "typeString": "literal_string \"a\"" - }, - "value": "a" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_userDefinedValueType$_BidId_$39311", - "typeString": "Suave.BidId" - }, - { - "typeIdentifier": "t_stringliteral_3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb", - "typeString": "literal_string \"a\"" - } - ], - "expression": { - "id": 40505, - "name": "SuaveForge", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40444, - "src": "675:10:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SuaveForge_$40444_$", - "typeString": "type(library SuaveForge)" - } - }, - "id": 40506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "686:25:16", - "memberName": "confidentialStoreRetrieve", - "nodeType": "MemberAccess", - "referencedDeclaration": 40173, - "src": "675:36:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_BidId_$39311_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (Suave.BidId,string memory) view returns (bytes memory)" - } - }, - "id": 40510, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "675:49:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "653:71:16" - }, - { - "expression": { - "arguments": [ - { - "id": 40515, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 40504, - "src": "751:6:16", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "id": 40512, - "name": "console", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 17938, - "src": "734:7:16", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_console_$17938_$", - "typeString": "type(library console)" - } - }, - "id": 40514, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberLocation": "742:8:16", - "memberName": "logBytes", - "nodeType": "MemberAccess", - "referencedDeclaration": 9993, - "src": "734:16:16", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (bytes memory) view" - } - }, - "id": 40516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "nameLocations": [], - "names": [], - "nodeType": "FunctionCall", - "src": "734:24:16", - "tryCall": false, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 40517, - "nodeType": "ExpressionStatement", - "src": "734:24:16" - } - ] - }, - "functionSelector": "c0406226", - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "run", - "nameLocation": "296:3:16", - "parameters": { - "id": 40457, - "nodeType": "ParameterList", - "parameters": [], - "src": "299:2:16" - }, - "returnParameters": { - "id": 40458, - "nodeType": "ParameterList", - "parameters": [], - "src": "309:0:16" - }, - "scope": 40520, - "stateMutability": "nonpayable", - "virtual": false, - "visibility": "public" - } - ], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 40449, - "name": "Script", - "nameLocations": [ - "148:6:16" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 113, - "src": "148:6:16" - }, - "id": 40450, - "nodeType": "InheritanceSpecifier", - "src": "148:6:16" - } - ], - "canonicalName": "Example", - "contractDependencies": [], - "contractKind": "contract", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 40520, - 113, - 8168, - 2911, - 851, - 74, - 62 - ], - "name": "Example", - "nameLocation": "137:7:16", - "scope": 40521, - "usedErrors": [] - } - ], - "license": "MIT" + "object": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a" }, - "id": 16 -} \ No newline at end of file + "bytecode": { + "object": "0x600b805462ff00ff19166201000117905560a060405273c8df3686b4afb2bb53e60eae97ef043fe03fb829608090815261003d90600c906001610050565b5034801561004a57600080fd5b506100ca565b8280548282559060005260206000209081019282156100a5579160200282015b828111156100a557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190610070565b506100b19291506100b5565b5090565b5b808211156100b157600081556001016100b6565b610f13806100d96000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063b810fb4314610046578063c040622614610076578063f8ccbf4714610080575b600080fd5b6100596100543660046107cf565b6100a3565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e6100cd565b005b600b546100939062010000900460ff1681565b604051901515815260200161006d565b600c81815481106100b357600080fd5b6000918252602090912001546001600160a01b0316905081565b60006101bd6000600c80548060200260200160405190810160405280929190818152602001828054801561012a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161010c575b5050505050600c80548060200260200160405190810160405280929190818152602001828054801561018557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610167575b50505050506040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b815250610290565b905060006101f960006040518060400160405280601581526020017464656661756c743a76303a65746842756e646c657360581b81525061032a565b9050610205815161037d565b6102578260000151604051806040016040528060018152602001606160f81b815250604051602001610243906531313131313160d11b815260060190565b6040516020818303038152906040526103c5565b60006102808360000151604051806040016040528060018152602001606160f81b8152506103ff565b905061028b81610432565b505050565b6040805160c0810182526000808252602082018190529181019190915260608082018190526080820181905260a0820152600061030a6040518060600160405280602a8152602001610e89602a9139878787876040516020016102f6949392919061087c565b604051602081830303815290604052610475565b9050808060200190518101906103209190610b60565b9695505050505050565b6060600061035d6040518060600160405280602a8152602001610edd602a913985856040516020016102f6929190610b95565b9050808060200190518101906103739190610bc0565b9150505b92915050565b6103c28160405160240161039391815260200190565b60408051601f198184030181529190526020810180516001600160e01b031663f5b1bba960e01b1790526105ea565b50565b60006103f86040518060600160405280602a8152602001610eb3602a91398585856040516020016102f693929190610c71565b5050505050565b606060006103736040518060600160405280602a8152602001610e5f602a913985856040516020016102f6929190610ca6565b6103c2816040516024016104469190610cc9565b60408051601f198184030181529190526020810180516001600160e01b03166305f3bfab60e11b1790526105ea565b606060006104828361060b565b60408051600480825260a0820190925291925060009190816020015b606081526020019060019003908161049e57905050905060405180604001604052806005815260200164737561766560d81b815250816000815181106104e6576104e6610cdc565b602002602001018190525060405180604001604052806005815260200164666f72676560d81b8152508160018151811061052257610522610cdc565b6020026020010181905250848160028151811061054157610541610cdc565b6020026020010181905250818160038151811061056057610560610cdc565b6020908102919091010152604051638916046760e01b8152600090737109709ecfa91a80626ff3989d68f67f5b1dd12d906389160467906105a5908590600401610cf2565b600060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103209190810190610d54565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b606060008251600261061d9190610db3565b67ffffffffffffffff811115610635576106356108d0565b6040519080825280601f01601f19166020018201604052801561065f576020820181803683370190505b5060408051808201909152601081526f181899199a1a9b1b9c1cb0b131b232b360811b602082015290915060005b84518110156107a5578182518683815181106106ab576106ab610cdc565b01602001516106bd919060f81c610de0565b815181106106cd576106cd610cdc565b01602001516001600160f81b031916836106e8836002610db3565b815181106106f8576106f8610cdc565b60200101906001600160f81b031916908160001a90535081825186838151811061072457610724610cdc565b0160200151610736919060f81c610df4565b8151811061074657610746610cdc565b01602001516001600160f81b03191683610761836002610db3565b61076c906001610e08565b8151811061077c5761077c610cdc565b60200101906001600160f81b031916908160001a9053508061079d81610e1b565b91505061068d565b50816040516020016107b79190610e34565b60405160208183030381529060405292505050919050565b6000602082840312156107e157600080fd5b5035919050565b600081518084526020808501945080840160005b838110156108215781516001600160a01b0316875295820195908201906001016107fc565b509495945050505050565b60005b8381101561084757818101518382015260200161082f565b50506000910152565b6000815180845261086881602086016020860161082c565b601f01601f19169290920160200192915050565b67ffffffffffffffff8516815260806020820152600061089f60808301866107e8565b82810360408401526108b181866107e8565b905082810360608401526108c58185610850565b979650505050505050565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610909576109096108d0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610938576109386108d0565b604052919050565b80516fffffffffffffffffffffffffffffffff198116811461096157600080fd5b919050565b805167ffffffffffffffff8116811461096157600080fd5b600067ffffffffffffffff821115610998576109986108d0565b5060051b60200190565b600082601f8301126109b357600080fd5b815160206109c86109c38361097e565b61090f565b82815260059290921b840181019181810190868411156109e757600080fd5b8286015b84811015610a185780516001600160a01b0381168114610a0b5760008081fd5b83529183019183016109eb565b509695505050505050565b600067ffffffffffffffff831115610a3d57610a3d6108d0565b610a50601f8401601f191660200161090f565b9050828152838383011115610a6457600080fd5b610a7283602083018461082c565b9392505050565b600082601f830112610a8a57600080fd5b610a7283835160208501610a23565b600060c08284031215610aab57600080fd5b610ab36108e6565b9050610abe82610940565b8152610acc60208301610940565b6020820152610add60408301610966565b6040820152606082015167ffffffffffffffff80821115610afd57600080fd5b610b09858386016109a2565b60608401526080840151915080821115610b2257600080fd5b610b2e858386016109a2565b608084015260a0840151915080821115610b4757600080fd5b50610b5484828501610a79565b60a08301525092915050565b600060208284031215610b7257600080fd5b815167ffffffffffffffff811115610b8957600080fd5b61037384828501610a99565b67ffffffffffffffff83168152604060208201526000610bb86040830184610850565b949350505050565b60006020808385031215610bd357600080fd5b825167ffffffffffffffff80821115610beb57600080fd5b818501915085601f830112610bff57600080fd5b8151610c0d6109c38261097e565b81815260059190911b83018401908481019088831115610c2c57600080fd5b8585015b83811015610c6457805185811115610c485760008081fd5b610c568b89838a0101610a99565b845250918601918601610c30565b5098975050505050505050565b6001600160801b031984168152606060208201526000610c946060830185610850565b82810360408401526103208185610850565b6001600160801b031983168152604060208201526000610bb86040830184610850565b602081526000610a726020830184610850565b634e487b7160e01b600052603260045260246000fd5b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d4757603f19888603018452610d35858351610850565b94509285019290850190600101610d19565b5092979650505050505050565b600060208284031215610d6657600080fd5b815167ffffffffffffffff811115610d7d57600080fd5b8201601f81018413610d8e57600080fd5b61037384825160208401610a23565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761037757610377610d9d565b634e487b7160e01b600052601260045260246000fd5b600082610def57610def610dca565b500490565b600082610e0357610e03610dca565b500690565b8082018082111561037757610377610d9d565b600060018201610e2d57610e2d610d9d565b5060010190565b61060f60f31b815260008251610e5181600285016020870161082c565b919091016002019291505056fe307830303030303030303030303030303030303030303030303030303030303030303432303230303031307830303030303030303030303030303030303030303030303030303030303030303432303330303030307830303030303030303030303030303030303030303030303030303030303030303432303230303030307830303030303030303030303030303030303030303030303030303030303030303432303330303031a164736f6c6343000813000a" + } +}